From 0b7d853fec015dd67a06d73ffda717433ae09a8a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 19 Oct 2022 13:16:22 -0700 Subject: [PATCH 01/11] Add different tests for baselining before behavior --- src/testRunner/tsconfig.json | 1 + .../unittests/tsbuild/commandLine.ts | 427 ++++ src/testRunner/unittests/tsbuild/sample.ts | 17 + src/testRunner/unittests/tsc/incremental.ts | 237 +- .../tscWatch/projectsWithReferences.ts | 31 + src/testRunner/unittests/tscWatch/watchApi.ts | 93 + .../different-options-discrepancies.js | 12 + ...-options-with-incremental-discrepancies.js | 58 + ...-incremental-with-outFile-discrepancies.js | 12 + ...t-options-with-incremental-with-outFile.js | 450 ++++ .../different-options-with-incremental.js | 480 ++++ ...rent-options-with-outFile-discrepancies.js | 14 + .../different-options-with-outFile.js | 542 +++++ .../tsbuild/commandLine/different-options.js | 495 ++++ ...Only-false-on-commandline-discrepancies.js | 4 + ...claration-and-incremental-discrepancies.js | 4 + ...-incremental-with-outFile-discrepancies.js | 4 + ...eclaration-and-incremental-with-outFile.js | 351 +++ ...ndline-with-declaration-and-incremental.js | 589 +++++ ...mmandline-with-declaration-with-outFile.js | 300 +++ ...y-false-on-commandline-with-declaration.js | 328 +++ ...mitDeclarationOnly-false-on-commandline.js | 534 +++++ ...rationOnly-on-commandline-discrepancies.js | 8 + ...claration-and-incremental-discrepancies.js | 103 + ...-incremental-with-outFile-discrepancies.js | 4 + ...eclaration-and-incremental-with-outFile.js | 741 ++++++ ...ndline-with-declaration-and-incremental.js | 779 +++++++ ...mmandline-with-declaration-with-outFile.js | 455 ++++ ...ionOnly-on-commandline-with-declaration.js | 446 ++++ ...-commandline-with-outFile-discrepancies.js | 8 + ...arationOnly-on-commandline-with-outFile.js | 896 +++++++ .../emitDeclarationOnly-on-commandline.js | 883 +++++++ ...en-declarationMap-changes-discrepancies.js | 196 ++ .../sample1/when-declarationMap-changes.js | 663 ++++++ .../different-options-discrepancies.js | 101 + ...-options-with-incremental-discrepancies.js | 34 + ...-incremental-with-outFile-discrepancies.js | 12 + ...t-options-with-incremental-with-outFile.js | 1331 +++++++++++ .../different-options-with-incremental.js | 1782 ++++++++++++++ ...rent-options-with-outFile-discrepancies.js | 106 + .../different-options-with-outFile.js | 1543 ++++++++++++ .../tsc/incremental/different-options.js | 2065 +++++++++++++++++ ...en-declarationMap-changes-discrepancies.js | 119 + ...nMap-changes-with-outFile-discrepancies.js | 10 + ...hen-declarationMap-changes-with-outFile.js | 206 ++ .../when-declarationMap-changes.js | 302 +++ ...n-declarationMap-changes-for-dependency.js | 486 ++++ ...ting-with-emitOnlyDtsFiles-with-outFile.js | 312 +++ .../when-emitting-with-emitOnlyDtsFiles.js | 389 ++++ 49 files changed, 18962 insertions(+), 1 deletion(-) create mode 100644 src/testRunner/unittests/tsbuild/commandLine.ts create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/different-options.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js create mode 100644 tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-incremental.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options-with-outFile.js create mode 100644 tests/baselines/reference/tsc/incremental/different-options.js create mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js create mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js create mode 100644 tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js create mode 100644 tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js create mode 100644 tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js diff --git a/src/testRunner/tsconfig.json b/src/testRunner/tsconfig.json index 2e930a68ef262..5210426aad95f 100644 --- a/src/testRunner/tsconfig.json +++ b/src/testRunner/tsconfig.json @@ -119,6 +119,7 @@ "unittests/services/transpile.ts", "unittests/tsbuild/amdModulesWithOut.ts", "unittests/tsbuild/clean.ts", + "unittests/tsbuild/commandLine.ts", "unittests/tsbuild/configFileErrors.ts", "unittests/tsbuild/configFileExtends.ts", "unittests/tsbuild/containerOnlyReferenced.ts", diff --git a/src/testRunner/unittests/tsbuild/commandLine.ts b/src/testRunner/unittests/tsbuild/commandLine.ts new file mode 100644 index 0000000000000..aea4c74b431e1 --- /dev/null +++ b/src/testRunner/unittests/tsbuild/commandLine.ts @@ -0,0 +1,427 @@ +namespace ts { + describe("unittests:: tsbuild:: commandLine::", () => { + describe("different options::", () => { + function withOptionChange(subScenario: string, ...options: readonly string[]): TestTscEdit { + return { + subScenario, + modifyFs: noop, + commandLineArgs: ["--b", "/src/project", "--verbose", ...options] + }; + } + function noChangeWithSubscenario(subScenario: string): TestTscEdit { + return { ...noChangeRun, subScenario }; + } + function withOptionChangeAndDiscrepancyExplanation(subScenario: string, option: string): TestTscEdit { + return { + ...withOptionChange(subScenario, option), + discrepancyExplanation: () => [ + `Clean build tsbuildinfo will have compilerOptions with composite and ${option.replace(/\-/g, "")}`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only`, + ] + }; + } + function withEmitDeclarationOnlyChangeAndDiscrepancyExplanation(subScenario: string): TestTscEdit { + const edit = withOptionChangeAndDiscrepancyExplanation(subScenario, "--emitDeclarationOnly"); + const discrepancyExplanation = edit.discrepancyExplanation!; + edit.discrepancyExplanation = () => [ + ...discrepancyExplanation(), + `Clean build info does not have js section because its fresh build`, + `Incremental build info has js section from old build` + ]; + return edit; + } + function withOptionChangeAndExportExplanation(subScenario: string, ...options: readonly string[]): TestTscEdit { + return { + ...withOptionChange(subScenario, ...options), + discrepancyExplanation: noChangeWithExportsDiscrepancyRun.discrepancyExplanation, + }; + } + function nochangeWithIncrementalDeclarationFromBeforeExplaination(): TestTscEdit { + return { + ...noChangeRun, + discrepancyExplanation: () => [ + `Clean build tsbuildinfo will have compilerOptions {}`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap`, + ], + }; + } + function nochangeWithIncrementalOutDeclarationFromBeforeExplaination(): TestTscEdit { + const edit = nochangeWithIncrementalDeclarationFromBeforeExplaination(); + const discrepancyExplanation = edit.discrepancyExplanation!; + edit.discrepancyExplanation = () => [ + ...discrepancyExplanation(), + `Clean build does not have dts bundle section`, + `Incremental build contains the dts build section from before`, + ]; + return edit; + } + function localChange(): TestTscEdit { + return { + subScenario: "local change", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "Local = 1", "Local = 10"), + }; + } + function fs(options: CompilerOptions) { + return loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ compilerOptions: compilerOptionsToConfigJson(options) }), + "/src/project/a.ts": `export const a = 10;const aLocal = 10;`, + "/src/project/b.ts": `export const b = 10;const bLocal = 10;`, + "/src/project/c.ts": `import { a } from "./a";export const c = a;`, + "/src/project/d.ts": `import { b } from "./b";export const d = b;`, + }); + } + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "different options", + fs: () => fs({ composite: true }), + commandLineArgs: ["--b", "/src/project", "--verbose"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + noChangeRun, + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + noChangeWithSubscenario("should re-emit only dts so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with emitDeclarationOnly should not emit anything", "--emitDeclarationOnly"), + noChangeRun, + localChange(), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "different options with outFile", + fs: () => fs({ composite: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--b", "/src/project", "--verbose"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + noChangeRun, + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + noChangeWithSubscenario("should re-emit only dts so they dont contain sourcemap"), + withEmitDeclarationOnlyChangeAndDiscrepancyExplanation("with emitDeclarationOnly should not emit anything"), + noChangeRun, + localChange(), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "different options with incremental", + fs: () => fs({ incremental: true }), + commandLineArgs: ["--b", "/src/project", "--verbose"], + edits: [ + withOptionChangeAndExportExplanation("with sourceMap", "--sourceMap"), + withOptionChangeAndExportExplanation("should re-emit only js so they dont contain sourcemap"), + withOptionChange("with declaration, emit Dts and should not emit js", "--declaration"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalDeclarationFromBeforeExplaination(), + localChange(), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalDeclarationFromBeforeExplaination(), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("emit js files"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + withOptionChange("with declaration and declarationMap, should not re-emit", "--declaration", "--declarationMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "different options with incremental with outFile", + fs: () => fs({ incremental: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--b", "/src/project", "--verbose"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChange("with declaration, emit Dts and should not emit js", "--declaration"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalOutDeclarationFromBeforeExplaination(), + localChange(), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalOutDeclarationFromBeforeExplaination(), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("emit js files"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + withOptionChange("with declaration and declarationMap, should not re-emit", "--declaration", "--declarationMap"), + ], + baselinePrograms: true, + }); + }); + describe("emitDeclarationOnly::", () => { + function fs(options: CompilerOptions) { + return loadProjectFromFiles({ + "/src/project1/src/tsconfig.json": JSON.stringify({ + compilerOptions: compilerOptionsToConfigJson(options), + }), + "/src/project1/src/a.ts": `export const a = 10;const aLocal = 10;`, + "/src/project1/src/b.ts": `export const b = 10;const bLocal = 10;`, + "/src/project1/src/c.ts": `import { a } from "./a";export const c = a;`, + "/src/project1/src/d.ts": `import { b } from "./b";export const d = b;`, + "/src/project2/src/tsconfig.json": JSON.stringify({ + compilerOptions: compilerOptionsToConfigJson(options), + references: [{ path: "../../project1/src" }], + }), + "/src/project2/src/e.ts": `export const e = 10;`, + "/src/project2/src/f.ts": `import { a } from "${options.outFile ? "a" : "../../project1/src/a"}"; export const f = a;`, + "/src/project2/src/g.ts": `import { b } from "${options.outFile ? "b" : "../../project1/src/b"}"; export const g = b;`, + }); + } + function verifyWithIncremental(options: CompilerOptions) { + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: subScenario("emitDeclarationOnly on commandline"), + fs: () => fs(options), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly"], + edits: [ + noChangeRun, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "export const aaa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + { + ...noChangeRun, + discrepancyExplanation: () => [ + `Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only`, + ] + }, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const alocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const aaaa = 10;"), + // --out without composite doesnt emit buildInfo without emitting program so it wouldnt have project2 tsbuildInfo so no mismatch + discrepancyExplanation: options.incremental && options.outFile ? undefined : () => [ + `Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly`, + `Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only`, + ], + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const aaaaa = 10;"), + }, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const a2 = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: subScenario("emitDeclarationOnly false on commandline"), + fs: () => fs({ ...options, emitDeclarationOnly: true }), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + edits: [ + noChangeRun, + { + subScenario: "change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + { + ...noChangeRun, + discrepancyExplanation: () => [ + `Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false`, + ] + }, + { + subScenario: "no change run with js emit", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + { + subScenario: "js emit with change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const blocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + ], + baselinePrograms: true, + }); + function subScenario(text: string) { + return `${text}${options.composite ? "" : " with declaration and incremental"}${options.outFile ? " with outFile" : ""}`; + } + } + verifyWithIncremental({ composite: true }); + verifyWithIncremental({ incremental: true, declaration: true }); + verifyWithIncremental({ composite: true, outFile: "../outFile.js", module: ModuleKind.AMD }); + verifyWithIncremental({ incremental: true, declaration: true, outFile: "../outFile.js", module: ModuleKind.AMD }); + + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "emitDeclarationOnly on commandline with declaration", + fs: () => fs({ declaration: true }), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly"], + edits: [ + noChangeRun, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "export const aaa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + noChangeRun, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const alocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const aaaa = 10;"), + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const aaaaa = 10;"), + }, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const a2 = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + ], + baselinePrograms: true, + }); + + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "emitDeclarationOnly false on commandline with declaration", + fs: () => fs({ declaration: true, emitDeclarationOnly: true }), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + edits: [ + noChangeRun, + { + subScenario: "change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + noChangeRun, + { + subScenario: "no change run with js emit", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + { + subScenario: "js emit with change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const blocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + ], + baselinePrograms: true, + }); + + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "emitDeclarationOnly on commandline with declaration with outFile", + fs: () => fs({ declaration: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly"], + edits: [ + noChangeRun, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "export const aaa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + noChangeRun, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const alocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + { + subScenario: "local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const aaaa = 10;"), + }, + { + subScenario: "non local change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const aaaaa = 10;"), + }, + { + subScenario: "js emit with change without emitDeclarationOnly", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "export const a2 = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + }, + ], + baselinePrograms: true, + }); + + verifyTscWithEdits({ + scenario: "commandLine", + subScenario: "emitDeclarationOnly false on commandline with declaration with outFile", + fs: () => fs({ declaration: true, emitDeclarationOnly: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--b", "/src/project2/src", "--verbose"], + edits: [ + noChangeRun, + { + subScenario: "change", + modifyFs: fs => appendText(fs, "/src/project1/src/a.ts", "const aa = 10;"), + }, + { + subScenario: "emit js files", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + noChangeRun, + { + subScenario: "no change run with js emit", + modifyFs: noop, + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + { + subScenario: "js emit with change", + modifyFs: fs => appendText(fs, "/src/project1/src/b.ts", "const blocal = 10;"), + commandLineArgs: ["--b", "/src/project2/src", "--verbose", "--emitDeclarationOnly", "false"], + }, + ], + baselinePrograms: true, + }); + }); + }); +} \ No newline at end of file diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index ebf13cc9c86c6..a592582f5e1aa 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -154,6 +154,23 @@ namespace ts { ] }); + verifyTscWithEdits({ + scenario: "sample1", + subScenario: "when declarationMap changes", + fs: () => projFs, + commandLineArgs: ["--b", "/src/tests", "--verbose"], + edits: [ + { + subScenario: "Disable declarationMap", + modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", `"declarationMap": true,`, `"declarationMap": false,`), + }, + { + subScenario: "Enable declarationMap", + modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", `"declarationMap": false,`, `"declarationMap": true,`), + }, + ] + }); + verifyTsc({ scenario: "sample1", subScenario: "indicates that it would skip builds during a dry build", diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index 157643f2203b9..b0f5b8d933da7 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -425,7 +425,6 @@ declare global { ] }); - verifyTscWithEdits({ scenario: "incremental", subScenario: "when project has strict true", @@ -580,5 +579,241 @@ console.log(a);`, } verifyModifierChange(/*declaration*/ false); verifyModifierChange(/*declaration*/ true); + + verifyTscWithEdits({ + scenario: "incremental", + subScenario: `when declarationMap changes`, + fs: () => loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ + compilerOptions: { + noEmitOnError: true, + declaration: true, + composite: true, + } + }), + "/src/project/a.ts": "const x = 10;", + "/src/project/b.ts": "const y = 10;" + }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + { + subScenario: "error and enable declarationMap", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "x", "x: 20"), + commandLineArgs: ["--p", "/src/project", "--declarationMap"], + discrepancyExplanation: () => [ + `Clean build does not emit any file so will have emitSignatures with all files since they are not emitted`, + `Incremental build has emitSignatures from before, so it will have a.ts with signature since file.version isnt same`, + `Incremental build will also have emitSignatureDtsMapDiffers for both files since the emitSignatures were without declarationMap but currentOptions have declrationMap`, + ] + }, + { + subScenario: "fix error declarationMap", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "x: 20", "x"), + commandLineArgs: ["--p", "/src/project", "--declarationMap"], + }, + ] + }); + + verifyTscWithEdits({ + scenario: "incremental", + subScenario: `when declarationMap changes with outFile`, + fs: () => loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ + compilerOptions: { + noEmitOnError: true, + declaration: true, + composite: true, + outFile: "../outFile.js", + } + }), + "/src/project/a.ts": "const x = 10;", + "/src/project/b.ts": "const y = 10;" + }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + { + subScenario: "error and enable declarationMap", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "x", "x: 20"), + commandLineArgs: ["--p", "/src/project", "--declarationMap"], + }, + { + subScenario: "fix error declarationMap", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "x: 20", "x"), + commandLineArgs: ["--p", "/src/project", "--declarationMap"], + }, + ] + }); + + describe("different options::", () => { + function withOptionChange(subScenario: string, ...options: readonly string[]): TestTscEdit { + return { + subScenario, + modifyFs: noop, + commandLineArgs: ["--p", "/src/project", ...options], + }; + } + function noChangeWithSubscenario(subScenario: string): TestTscEdit { + return { ...noChangeRun, subScenario }; + } + function withOptionChangeAndDiscrepancyExplanation(subScenario: string, option: string): TestTscEdit { + return { + ...withOptionChange(subScenario, option), + discrepancyExplanation: () => [ + `Clean build tsbuildinfo will have compilerOptions with composite and ${option.replace(/\-/g, "")}`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only`, + ] + }; + } + function withEmitDeclarationOnlyChangeAndDiscrepancyExplanation(subScenario: string): TestTscEdit { + const edit = withOptionChangeAndDiscrepancyExplanation(subScenario, "--emitDeclarationOnly"); + const discrepancyExplanation = edit.discrepancyExplanation!; + edit.discrepancyExplanation = () => [ + ...discrepancyExplanation(), + `Clean build info does not have js section because its fresh build`, + `Incremental build info has js section from old build` + ]; + return edit; + } + function withOptionChangeAndExportExplanation(subScenario: string, ...options: readonly string[]): TestTscEdit { + return { + ...withOptionChange(subScenario, ...options), + discrepancyExplanation: noChangeWithExportsDiscrepancyRun.discrepancyExplanation, + }; + } + function nochangeWithIncrementalDeclarationFromBeforeExplaination(): TestTscEdit { + return { + ...noChangeRun, + discrepancyExplanation: () => [ + `Clean build tsbuildinfo will have compilerOptions {}`, + `Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap`, + ], + }; + } + function nochangeWithIncrementalOutDeclarationFromBeforeExplaination(): TestTscEdit { + const edit = nochangeWithIncrementalDeclarationFromBeforeExplaination(); + const discrepancyExplanation = edit.discrepancyExplanation!; + edit.discrepancyExplanation = () => [ + ...discrepancyExplanation(), + `Clean build does not have dts bundle section`, + `Incremental build contains the dts build section from before`, + ]; + return edit; + } + function localChange(): TestTscEdit { + return { + subScenario: "local change", + modifyFs: fs => replaceText(fs, "/src/project/a.ts", "Local = 1", "Local = 10"), + }; + } + function fs(options: CompilerOptions) { + return loadProjectFromFiles({ + "/src/project/tsconfig.json": JSON.stringify({ compilerOptions: compilerOptionsToConfigJson(options) }), + "/src/project/a.ts": `export const a = 10;const aLocal = 10;`, + "/src/project/b.ts": `export const b = 10;const bLocal = 10;`, + "/src/project/c.ts": `import { a } from "./a";export const c = a;`, + "/src/project/d.ts": `import { b } from "./b";export const d = b;`, + }); + } + function enableDeclarationMap(): TestTscEdit { + return { + subScenario: "declarationMap enabling", + modifyFs: fs => { + const config = JSON.parse(fs.readFileSync("/src/project/tsconfig.json", "utf-8")); + config.compilerOptions.declarationMap = true; + fs.writeFileSync("/src/project/tsconfig.json", JSON.stringify(config)); + }, + }; + } + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "different options", + fs: () => fs({ composite: true }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + noChangeRun, + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + noChangeWithSubscenario("should re-emit only dts so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with emitDeclarationOnly should not emit anything", "--emitDeclarationOnly"), + noChangeRun, + localChange(), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + enableDeclarationMap(), + withOptionChange("with sourceMap should not emit d.ts", "--sourceMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "different options with outFile", + fs: () => fs({ composite: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + noChangeRun, + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + noChangeWithSubscenario("should re-emit only dts so they dont contain sourcemap"), + withEmitDeclarationOnlyChangeAndDiscrepancyExplanation("with emitDeclarationOnly should not emit anything"), + noChangeRun, + localChange(), + withOptionChangeAndDiscrepancyExplanation("with declaration should not emit anything", "--declaration"), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + enableDeclarationMap(), + withOptionChange("with sourceMap should not emit d.ts", "--sourceMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "different options with incremental", + fs: () => fs({ incremental: true }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + withOptionChangeAndExportExplanation("with sourceMap", "--sourceMap"), + withOptionChangeAndExportExplanation("should re-emit only js so they dont contain sourcemap"), + withOptionChange("with declaration, emit Dts and should not emit js", "--declaration"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalDeclarationFromBeforeExplaination(), + localChange(), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalDeclarationFromBeforeExplaination(), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("emit js files"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + withOptionChange("with declaration and declarationMap, should not re-emit", "--declaration", "--declarationMap"), + ], + baselinePrograms: true, + }); + verifyTscWithEdits({ + scenario: "incremental", + subScenario: "different options with incremental with outFile", + fs: () => fs({ incremental: true, outFile: "../outFile.js", module: ModuleKind.AMD }), + commandLineArgs: ["--p", "/src/project"], + edits: [ + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("should re-emit only js so they dont contain sourcemap"), + withOptionChange("with declaration, emit Dts and should not emit js", "--declaration"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalOutDeclarationFromBeforeExplaination(), + localChange(), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + nochangeWithIncrementalOutDeclarationFromBeforeExplaination(), + withOptionChange("with inlineSourceMap", "--inlineSourceMap"), + withOptionChange("with sourceMap", "--sourceMap"), + noChangeWithSubscenario("emit js files"), + withOptionChange("with declaration and declarationMap", "--declaration", "--declarationMap"), + withOptionChange("with declaration and declarationMap, should not re-emit", "--declaration", "--declarationMap"), + ], + baselinePrograms: true, + }); + }); }); } diff --git a/src/testRunner/unittests/tscWatch/projectsWithReferences.ts b/src/testRunner/unittests/tscWatch/projectsWithReferences.ts index 524694a6ede10..cc93958b72d74 100644 --- a/src/testRunner/unittests/tscWatch/projectsWithReferences.ts +++ b/src/testRunner/unittests/tscWatch/projectsWithReferences.ts @@ -410,5 +410,36 @@ X;`, ], baselineDependencies: true, }); + + verifyTscWatch({ + scenario: "projectsWithReferences", + subScenario: "when declarationMap changes for dependency", + sys: () => createSystemWithSolutionBuild( + ["core"], + [ + libFile, + TestFSWithWatch.getTsBuildProjectFile("sample1", "core/tsconfig.json"), + TestFSWithWatch.getTsBuildProjectFile("sample1", "core/index.ts"), + TestFSWithWatch.getTsBuildProjectFile("sample1", "core/anotherModule.ts"), + TestFSWithWatch.getTsBuildProjectFile("sample1", "core/some_decl.d.ts"), + TestFSWithWatch.getTsBuildProjectFile("sample1", "logic/tsconfig.json"), + TestFSWithWatch.getTsBuildProjectFile("sample1", "logic/index.ts"), + ], + { currentDirectory: `${TestFSWithWatch.tsbuildProjectsLocation}/sample1` } + ), + commandLineArgs: ["-w", "-p", "logic"], + changes: [ + { + caption: "change declration map in core", + change: sys => { + replaceFileText(sys, TestFSWithWatch.getTsBuildProjectFilePath("sample1", "core/tsconfig.json"), `"declarationMap": true,`, `"declarationMap": false,`); + const solutionBuilder = createSolutionBuilder(sys, ["core"]); + solutionBuilder.build(); + }, + timeouts: sys => sys.runQueuedTimeoutCallbacks(0), + }, + ], + baselineDependencies: true + }); }); } \ No newline at end of file diff --git a/src/testRunner/unittests/tscWatch/watchApi.ts b/src/testRunner/unittests/tscWatch/watchApi.ts index 8182e276d9617..a755e1882e13e 100644 --- a/src/testRunner/unittests/tscWatch/watchApi.ts +++ b/src/testRunner/unittests/tscWatch/watchApi.ts @@ -611,4 +611,97 @@ namespace ts.tscWatch { }); }); }); + + describe("unittests:: tsc-watch:: watchAPI:: when builder emit occurs with emitOnlyDtsFiles", () => { + function verify(subScenario: string, outFile?: string) { + it(subScenario, () => { + const system = createWatchedSystem({ + [`${projectRoot}/tsconfig.json`]: JSON.stringify({ + compilerOptions: { composite: true, noEmitOnError: true, module: "amd", outFile }, + files: ["a.ts", "b.ts"], + }), + [`${projectRoot}/a.ts`]: "export const x = 10;", + [`${projectRoot}/b.ts`]: "export const y: 10 = 20;", + [libFile.path]: libFile.content, + }, { currentDirectory: projectRoot }); + const baseline = createBaseline(system); + const compilerHost = createWatchCompilerHostOfConfigFileForBaseline({ + cb: baseline.cb, + system, + configFileName: `${projectRoot}/tsconfig.json`, + optionsToExtend: { extendedDiagnostics: true } + }); + const originalEmitProgram = compilerHost.afterProgramCreate; + compilerHost.afterProgramCreate = myAfterProgramCreate; + let callFullEmit = true; + const watch = createWatchProgram(compilerHost); + runWatchBaseline({ + scenario: "watchApi", + subScenario, + commandLineArgs: ["--w", "--extendedDiagnostics"], + ...baseline, + changes: [ + { + caption: "Fix error but run emit with emitOnlyDts", + change: sys => { + sys.writeFile(`${projectRoot}/b.ts`, `export const y = 10;`); + callFullEmit = false; + }, + timeouts: checkSingleTimeoutQueueLengthAndRun, + }, + { + caption: "Emit with emitOnlyDts shouldnt emit anything", + change: () => { + const program = watch.getCurrentProgram(); + program.emit(/*targetSourceFile*/ undefined, /*writeFile*/ undefined, /*cancellationToken*/ undefined, /*emitOnlyDtsFiles*/ true); + baseline.cb(program); + }, + timeouts: sys => sys.checkTimeoutQueueLength(0), + }, + { + caption: "Emit all files", + change: () => { + const program = watch.getCurrentProgram(); + program.emit(); + baseline.cb(program); + }, + timeouts: sys => sys.checkTimeoutQueueLength(0), + }, + { + caption: "Emit with emitOnlyDts shouldnt emit anything", + change: () => { + const program = watch.getCurrentProgram(); + program.emit(/*targetSourceFile*/ undefined, /*writeFile*/ undefined, /*cancellationToken*/ undefined, /*emitOnlyDtsFiles*/ true); + baseline.cb(program); + }, + timeouts: sys => sys.checkTimeoutQueueLength(0), + }, + { + caption: "Emit full should not emit anything", + change: () => { + const program = watch.getCurrentProgram(); + program.emit(); + baseline.cb(program); + }, + timeouts: sys => sys.checkTimeoutQueueLength(0), + }, + ], + watchOrSolution: watch + }); + + function myAfterProgramCreate(program: EmitAndSemanticDiagnosticsBuilderProgram) { + if (callFullEmit) { + originalEmitProgram!.call(compilerHost, program); + } + else { + program.getSemanticDiagnostics(); // Get Diagnostics + program.emit(/*targetSourceFile*/ undefined, /*writeFile*/ undefined, /*cancellationToken*/ undefined, /*emitOnlyDtsFiles*/ true); + baseline.cb(program); + } + } + }); + } + verify("when emitting with emitOnlyDtsFiles"); + verify("when emitting with emitOnlyDtsFiles with outFile", "outFile.js"); + }); } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js new file mode 100644 index 0000000000000..5d41025734ded --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js @@ -0,0 +1,12 @@ +2:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +9:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..0077d68e3d6ea --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js @@ -0,0 +1,58 @@ +0:: with sourceMap +Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +*** Supplied discrepancy explanation but didnt file any difference +1:: should re-emit only js so they dont contain sourcemap +Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +5:: local change +*** Needs explanation +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +10:: emit js files +*** Needs explanation +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..e28d13349187c --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -0,0 +1,12 @@ +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before +*** Supplied discrepancy explanation but didnt file any difference +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js new file mode 100644 index 0000000000000..4897f9599cbbf --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -0,0 +1,450 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"incremental":true,"outFile":"../outFile.js","module":"amd"}} + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:12 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:13 AM] Project 'src/project/tsconfig.json' is out of date because output file 'src/outFile.tsbuildinfo' does not exist + +[12:00:14 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1065 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:20 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:21 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration, emit Dts and should not emit js +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:22 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:25 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:26 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:00:27 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1069 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:33 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:34 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:35 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with declaration and declarationMap, should not re-emit +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js new file mode 100644 index 0000000000000..1fd1e81a3d891 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js @@ -0,0 +1,480 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"incremental":true}} + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:12 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:13 AM] Project 'src/project/tsconfig.json' is out of date because output file 'src/project/tsconfig.tsbuildinfo' does not exist + +[12:00:14 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project/a.ts (used version) +/src/project/b.ts (used version) +/src/project/c.ts (used version) +/src/project/d.ts (used version) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 960 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:22 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration, emit Dts and should not emit js +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:24 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:27 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:28 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:00:29 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/a.ts +/src/project/c.ts + +Shape signatures in builder refreshed for:: +/src/project/a.ts (computed .d.ts) +/src/project/c.ts (computed .d.ts) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/c.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},"-6189287562-export const b = 10;const bLocal = 10;",{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},"-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1097 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:35 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:37 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:38 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with declaration and declarationMap, should not re-emit +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..32a33a4466d8c --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -0,0 +1,14 @@ +2:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build +*** Supplied discrepancy explanation but didnt file any difference +9:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js new file mode 100644 index 0000000000000..21c09cc67deda --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -0,0 +1,542 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd"}} + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:12 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:13 AM] Project 'src/project/tsconfig.json' is out of date because output file 'src/outFile.tsbuildinfo' does not exist + +[12:00:14 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:21 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:22 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:23 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:24 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only dts so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:25 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:26 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with emitDeclarationOnly should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:27 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:28 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:30 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:31 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:00:32 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2080 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options.js b/tests/baselines/reference/tsbuild/commandLine/different-options.js new file mode 100644 index 0000000000000..3df57d4c4ceb3 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/different-options.js @@ -0,0 +1,495 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true}} + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:12 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:13 AM] Project 'src/project/tsconfig.json' is out of date because output file 'src/project/tsconfig.tsbuildinfo' does not exist + +[12:00:14 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project/a.ts (computed .d.ts during emit) +/src/project/b.ts (computed .d.ts during emit) +/src/project/c.ts (computed .d.ts during emit) +/src/project/d.ts (computed .d.ts during emit) + + +//// [/src/project/a.d.ts] +export declare const a = 10; + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.d.ts] +export declare const b = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.d.ts] +export declare const c = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.d.ts] +export declare const d = 10; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:26 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:28 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +error TS5094: Compiler option '--declarationMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: should re-emit only dts so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:30 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with emitDeclarationOnly should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:32 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:33 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:00:35 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:36 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:00:37 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/a.ts + +Shape signatures in builder refreshed for:: +/src/project/a.ts (computed .d.ts) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1297 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +error TS5094: Compiler option '--declaration' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +error TS5094: Compiler option '--sourceMap' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js new file mode 100644 index 0000000000000..faec1530e4446 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -0,0 +1,4 @@ +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js new file mode 100644 index 0000000000000..faec1530e4446 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -0,0 +1,4 @@ +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..faec1530e4446 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -0,0 +1,4 @@ +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js new file mode 100644 index 0000000000000..3d6f5c6253f15 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -0,0 +1,351 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 452 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:29 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:30 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:31 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:32 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' + +[12:00:36 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:43 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.tsbuildinfo] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:44 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:45 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js new file mode 100644 index 0000000000000..459508108e38d --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -0,0 +1,589 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:29 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist + +[12:00:30 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1294 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3762229137-export declare const a = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-3762229137-export declare const a = 10;\r\n", + "signature": false + }, + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": false + }, + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1273 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:36 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:37 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:39 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' + +[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/a.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/a.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1308 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:48 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js new file mode 100644 index 0000000000000..531510873fa54 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js @@ -0,0 +1,300 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.d.ts' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:23 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:24 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:25 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:26 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.d.ts' + +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:30 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:31 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.d.ts' is older than input 'src/project1/src/a.ts' + +[12:00:32 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:35 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:36 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:37 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.d.ts' + +[12:00:38 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:39 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js new file mode 100644 index 0000000000000..a70a4d3a111e6 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js @@ -0,0 +1,328 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"emitDeclarationOnly":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.d.ts' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:26 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:27 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:28 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:29 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/a.d.ts' + +[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:33 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.d.ts' is older than input 'src/project1/src/a.ts' + +[12:00:35 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:40 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:41 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:42 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:43 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/a.d.ts' + +[12:00:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:45 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js new file mode 100644 index 0000000000000..0120ee0080ad2 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js @@ -0,0 +1,534 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"composite":true,"emitDeclarationOnly":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"composite":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:29 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist + +[12:00:30 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project2/src/e.ts (computed .d.ts during emit) +/src/project1/src/a.d.ts (used version) +/src/project2/src/f.ts (computed .d.ts during emit) +/src/project1/src/b.d.ts (used version) +/src/project2/src/g.ts (computed .d.ts during emit) + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1326 +} + +//// [/src/project2/src/e.d.ts] +export declare const e = 10; + + +//// [/src/project2/src/f.d.ts] +export declare const f = 10; + + +//// [/src/project2/src/g.d.ts] +export declare const g = 10; + + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-3762229137-export declare const a = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1363 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:37 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:38 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:39 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:41 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:42 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' + +[12:00:43 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:47 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:48 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/a.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/a.ts (computed .d.ts) + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1340 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:51 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js new file mode 100644 index 0000000000000..7e2c7d6451e1e --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js @@ -0,0 +1,8 @@ +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +6:: local change +Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js new file mode 100644 index 0000000000000..8b8c4ead4e954 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -0,0 +1,103 @@ +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +6:: local change +Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +8:: js emit with change without emitDeclarationOnly +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..e0ef84f89b03c --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -0,0 +1,4 @@ +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js new file mode 100644 index 0000000000000..68976a301f607 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -0,0 +1,741 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1450 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:33 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:35 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:43 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-823) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 823, + "kind": "text" + } + ], + "hash": "9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1473 +} + + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:47 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:49 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:56 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:57 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; + export const a2 = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a2 = exports.aaaaa = exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; + var aaaa = 10; + exports.aaaaa = 10; + exports.a2 = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-919) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a2 = exports.aaaaa = exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; + var aaaa = 10; + exports.aaaaa = 10; + exports.a2 = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-289) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; + export const a2 = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 919, + "kind": "text" + } + ], + "hash": "-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 289, + "kind": "text" + } + ], + "hash": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1636 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js new file mode 100644 index 0000000000000..b85cca75a1e79 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -0,0 +1,779 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist + +[12:00:36 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1335 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": false + }, + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": false + }, + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1279 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:41 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:42 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:43 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:49 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:50 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1353 +} + + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:54 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:56 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:04 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:05 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/d.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; +export declare const a2 = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.a2 = exports.aaaaa = exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; +var aaaa = 10; +exports.aaaaa = 10; +exports.a2 = 10; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1484 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js new file mode 100644 index 0000000000000..d035daa946c1c --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js @@ -0,0 +1,455 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.js' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:26 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:27 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:29 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:30 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' + +[12:00:31 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:35 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:39 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' + +[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:45 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; + export const a2 = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a2 = exports.aaaaa = exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; + var aaaa = 10; + exports.aaaaa = 10; + exports.a2 = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js new file mode 100644 index 0000000000000..751d0c1ca4bdf --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js @@ -0,0 +1,446 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"declaration":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.js' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:32 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:00:33 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:35 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:36 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' + +[12:00:37 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] file written with same contents + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:51 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' + +[12:00:53 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:02 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:01:03 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] file written with same contents +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; +export declare const a2 = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.a2 = exports.aaaaa = exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; +var aaaa = 10; +exports.aaaaa = 10; +exports.a2 = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..7e2c7d6451e1e --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -0,0 +1,8 @@ +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +6:: local change +Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js new file mode 100644 index 0000000000000..ab3b19d059b69 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -0,0 +1,896 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd"}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2194 +} + +//// [/src/project2/outFile.d.ts] +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + + +//// [/src/project2/outFile.js] +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + + +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1589 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:39 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:47 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:48 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-823) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 823, + "kind": "text" + } + ], + "hash": "9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2235 +} + +//// [/src/project2/outFile.tsbuildinfo] file changed its modified time + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:54 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:56 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' + +[12:01:04 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; + export const a2 = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a2 = exports.aaaaa = exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; + var aaaa = 10; + exports.aaaaa = 10; + exports.a2 = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-919) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a2 = exports.aaaaa = exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; + var aaaa = 10; + exports.aaaaa = 10; + exports.a2 = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-289) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; + export const a2 = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 919, + "kind": "text" + } + ], + "hash": "-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 289, + "kind": "text" + } + ], + "hash": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2520 +} + +//// [/src/project2/outFile.js] file written with same contents +//// [/src/project2/outFile.tsbuildinfo] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js new file mode 100644 index 0000000000000..71649b50cbc9c --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js @@ -0,0 +1,883 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"composite":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "../../project1/src/a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "../../project1/src/b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"composite":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:21 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist + +[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist + +[12:00:36 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project2/src/e.ts (computed .d.ts during emit) +/src/project1/src/a.d.ts (used version) +/src/project2/src/f.ts (computed .d.ts during emit) +/src/project1/src/b.d.ts (used version) +/src/project2/src/g.ts (computed .d.ts during emit) + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1367 +} + +//// [/src/project2/src/e.d.ts] +export declare const e = 10; + + +//// [/src/project2/src/e.js] +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + + +//// [/src/project2/src/f.d.ts] +export declare const f = 10; + + +//// [/src/project2/src/f.js] +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + + +//// [/src/project2/src/g.d.ts] +export declare const g = 10; + + +//// [/src/project2/src/g.js] +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1369 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:47 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:49 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:55 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1385 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:01 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:10 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' + +[12:01:11 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/d.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.d.ts (used version) +/src/project2/src/g.ts (computed .d.ts) + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; +export declare const a2 = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.a2 = exports.aaaaa = exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; +var aaaa = 10; +exports.aaaaa = 10; +exports.a2 = 10; + + +//// [/src/project1/src/d.js] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1516 +} + +//// [/src/project2/src/g.js] file written with same contents +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1438 +} + diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js new file mode 100644 index 0000000000000..2aced9fe3c123 --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js @@ -0,0 +1,196 @@ +0:: Disable declarationMap +*** Needs explanation +File: /src/core/anothermodule.d.ts +CleanBuild: +export declare const World = "hello"; + +IncrementalBuild: +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map +File: /src/core/index.d.ts +CleanBuild: +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; + +IncrementalBuild: +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map +TsBuild info text without affectedFilesPendingEmit:: /src/logic/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "../core/anothermodule.d.ts": { + "version": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +TsBuild info text without affectedFilesPendingEmit:: /src/tests/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "../core/anothermodule.d.ts": { + "version": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js new file mode 100644 index 0000000000000..1a9c2e8cc513e --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -0,0 +1,663 @@ +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/core/anotherModule.ts] +export const World = "hello"; + + +//// [/src/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/src/core/some_decl.d.ts] +declare const dts: any; + + +//// [/src/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} + + +//// [/src/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/src/tests/tsconfig.json] +{ + "references": [ + { "path": "../core" }, + { "path": "../logic" } + ], + "files": ["index.ts"], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/src/ui/index.ts] +import * as logic from '../logic'; + +export function run() { + console.log(logic.getSecondsInDay()); +} + + +//// [/src/ui/tsconfig.json] +{ + "compilerOptions": { + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../logic/index" } + ] +} + + + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:06 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:07 AM] Project 'src/core/tsconfig.json' is out of date because output file 'src/core/tsconfig.tsbuildinfo' does not exist + +[12:00:08 AM] Building project '/src/core/tsconfig.json'... + +[12:00:18 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/tsconfig.tsbuildinfo' does not exist + +[12:00:19 AM] Building project '/src/logic/tsconfig.json'... + +[12:00:26 AM] Project 'src/tests/tsconfig.json' is out of date because output file 'src/tests/tsconfig.tsbuildinfo' does not exist + +[12:00:27 AM] Building project '/src/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/src/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/src/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; + + +//// [/src/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/src/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/src/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; + + +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "original": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + }, + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1469 +} + +//// [/src/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/src/logic/index.js] +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/src/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/src/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "original": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1593 +} + +//// [/src/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/src/tests/index.js] +"use strict"; +exports.__esModule = true; +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/src/tests/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", + "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "../logic/index.d.ts": { + "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", + "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "./index.ts": { + "original": { + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + }, + "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "exportedModulesMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1740 +} + + + +Change:: Disable declarationMap +Input:: +//// [/src/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": false, + "skipDefaultLibCheck": true + } +} + + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:34 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' + +[12:00:36 AM] Building project '/src/core/tsconfig.json'... + +[12:00:42 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:43 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... + +[12:00:46 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:47 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/core/anotherModule.js] file written with same contents +//// [/src/core/index.js] file written with same contents +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "original": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + }, + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": false, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1470 +} + +//// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time +//// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: Enable declarationMap +Input:: +//// [/src/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + + + +Output:: +/lib/tsc --b /src/tests --verbose +[12:00:51 AM] Projects in this build: + * src/core/tsconfig.json + * src/logic/tsconfig.json + * src/tests/tsconfig.json + +[12:00:52 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' + +[12:00:53 AM] Building project '/src/core/tsconfig.json'... + +[12:01:01 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:02 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... + +[12:01:05 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:06 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/src/core/anotherModule.d.ts.map] file written with same contents +//// [/src/core/anotherModule.js] file written with same contents +//// [/src/core/index.d.ts.map] file written with same contents +//// [/src/core/index.js] file written with same contents +//// [/src/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" + }, + "./index.ts": { + "original": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + }, + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1469 +} + +//// [/src/logic/tsconfig.tsbuildinfo] file changed its modified time +//// [/src/tests/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js new file mode 100644 index 0000000000000..832700849dcf8 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js @@ -0,0 +1,101 @@ +2:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +4:: with declaration and declarationMap +*** Needs explanation +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: +export declare const a = 10; + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: +export declare const b = 10; + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: +export declare const c = 10; + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: +export declare const d = 10; + +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +9:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +12:: declarationMap enabling +*** Needs explanation +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: +export declare const a = 10; + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: +export declare const b = 10; + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: +export declare const c = 10; + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: +export declare const d = 10; + +13:: with sourceMap should not emit d.ts +*** Needs explanation +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: +export declare const a = 10; + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: +export declare const b = 10; + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: +export declare const c = 10; + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: +export declare const d = 10; diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js new file mode 100644 index 0000000000000..ca576f60d98d3 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js @@ -0,0 +1,34 @@ +0:: with sourceMap +Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +1:: should re-emit only js so they dont contain sourcemap +Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files +Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +*** Supplied discrepancy explanation but didnt file any difference +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..e28d13349187c --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js @@ -0,0 +1,12 @@ +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before +*** Supplied discrepancy explanation but didnt file any difference +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js new file mode 100644 index 0000000000000..6e73b93c0a9bb --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js @@ -0,0 +1,1331 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"incremental":true,"outFile":"../outFile.js","module":"amd"}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1065 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "version": "FakeTSVersion", + "size": 1499 +} + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1065 +} + + + +Change:: with declaration, emit Dts and should not emit js +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1379 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map + +//// [/src/outFile.d.ts.map] +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion", + "size": 1762 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1065 +} + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1069 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] file written with same contents +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion", + "size": 1766 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1069 +} + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --inlineSourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + } + }, + "version": "FakeTSVersion", + "size": 1578 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "version": "FakeTSVersion", + "size": 1500 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1069 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] file written with same contents +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion", + "size": 1766 +} + + + +Change:: with declaration and declarationMap, should not re-emit +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] file written with same contents +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js new file mode 100644 index 0000000000000..6b3087f5ddd33 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js @@ -0,0 +1,1782 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"incremental":true}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project/a.ts (used version) +/src/project/b.ts (used version) +/src/project/c.ts (used version) +/src/project/d.ts (used version) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 960 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 989 +} + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 960 +} + + + +Change:: with declaration, emit Dts and should not emit js +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] +export declare const a = 10; + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] +export declare const b = 10; + + +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts] +export declare const c = 10; + + +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts] +export declare const d = 10; + + +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1264 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map + +//// [/src/project/a.d.ts.map] +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map + +//// [/src/project/b.d.ts.map] +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts] +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map + +//// [/src/project/c.d.ts.map] +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts] +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map + +//// [/src/project/d.d.ts.map] +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1286 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1233 +} + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/a.ts + +Shape signatures in builder refreshed for:: +/src/project/a.ts (computed .d.ts) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1234 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] file written with same contents +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] file written with same contents +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts] file written with same contents +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts] file written with same contents +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1287 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1234 +} + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --inlineSourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1269 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1263 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1234 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] file written with same contents +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] file written with same contents +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts] file written with same contents +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts] file written with same contents +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1287 +} + + + +Change:: with declaration and declarationMap, should not re-emit +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..1ded72d6a0541 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js @@ -0,0 +1,106 @@ +2:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +4:: with declaration and declarationMap +*** Needs explanation +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build +*** Supplied discrepancy explanation but didnt file any difference +9:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +*** Supplied discrepancy explanation but didnt file any difference +12:: declarationMap enabling +*** Needs explanation +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +13:: with sourceMap should not emit d.ts +*** Needs explanation +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js new file mode 100644 index 0000000000000..56f3656977780 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -0,0 +1,1543 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd"}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2509 +} + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts.map] +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2458 +} + + + +Change:: should re-emit only dts so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + + + +Change:: with emitDeclarationOnly should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --emitDeclarationOnly +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","emitDeclarationOnly":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1168 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2080 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --inlineSourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2589 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2511 +} + + + +Change:: declarationMap enabling +Input:: +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd","declarationMap":true}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"declarationMap":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2463 +} + + + +Change:: with sourceMap should not emit d.ts +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"declarationMap":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2894 +} + diff --git a/tests/baselines/reference/tsc/incremental/different-options.js b/tests/baselines/reference/tsc/incremental/different-options.js new file mode 100644 index 0000000000000..ed3717d9bac30 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/different-options.js @@ -0,0 +1,2065 @@ +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/project/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project/a.ts (computed .d.ts during emit) +/src/project/b.ts (computed .d.ts during emit) +/src/project/c.ts (computed .d.ts during emit) +/src/project/d.ts (computed .d.ts during emit) + + +//// [/src/project/a.d.ts] +export declare const a = 10; + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.d.ts] +export declare const b = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.d.ts] +export declare const c = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.d.ts] +export declare const d = 10; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1313 +} + + + +Change:: should re-emit only js so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1315 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration --declarationMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts.map] +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts.map] +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts.map] +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts.map] +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1337 +} + + + +Change:: should re-emit only dts so they dont contain sourcemap +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: with emitDeclarationOnly should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --emitDeclarationOnly +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","emitDeclarationOnly":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1323 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/a.ts + +Shape signatures in builder refreshed for:: +/src/project/a.ts (computed .d.ts) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1297 +} + + + +Change:: with declaration should not emit anything +Input:: + + +Output:: +/lib/tsc --p /src/project --declaration +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.js] file written with same contents +//// [/src/project/c.js] file written with same contents +//// [/src/project/d.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1316 +} + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --inlineSourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1320 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1314 +} + + + +Change:: declarationMap enabling +Input:: +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"declarationMap":true}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"declarationMap":true,"project":"/src/project","configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1319 +} + + + +Change:: with sourceMap should not emit d.ts +Input:: + + +Output:: +/lib/tsc --p /src/project --sourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"declarationMap":true,"project":"/src/project","sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] file written with same contents +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] file written with same contents +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] file written with same contents +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declarationMap":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declarationMap": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1336 +} + diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js new file mode 100644 index 0000000000000..d10fedf10cbdd --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js @@ -0,0 +1,119 @@ +0:: error and enable declarationMap +Clean build does not emit any file so will have emitSignatures with all files since they are not emitted +Incremental build has emitSignatures from before, so it will have a.ts with signature since file.version isnt same +Incremental build will also have emitSignatureDtsMapDiffers for both files since the emitSignatures were without declarationMap but currentOptions have declrationMap +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "5515933561-const x: 20 = 10;", + "affectsGlobalScope": true + }, + "./b.ts": { + "version": "2026006654-const y = 10;", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true + }, + "referencedMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + [ + "./a.ts", + [ + { + "file": "./a.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '10' is not assignable to type '20'." + } + ] + ], + "./b.ts" + ], + "emitSignatures": [ + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "5515933561-const x: 20 = 10;", + "affectsGlobalScope": true + }, + "./b.ts": { + "version": "2026006654-const y = 10;", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true + }, + "referencedMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + [ + "./a.ts", + [ + { + "file": "./a.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '10' is not assignable to type '20'." + } + ] + ], + "./b.ts" + ], + "emitSignatures": [ + [ + "./a.ts", + "-3198459068-declare const x = 10;\r\n" + ] + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +1:: fix error declarationMap +*** Needs explanation +File: /src/project/a.d.ts +CleanBuild: +declare const x = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: +declare const x = 10; + +File: /src/project/b.d.ts +CleanBuild: +declare const y = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: +declare const y = 10; diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..cfe88b9592c9d --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js @@ -0,0 +1,10 @@ +1:: fix error declarationMap +*** Needs explanation +File: /src/outfile.d.ts +CleanBuild: +declare const x = 10; +declare const y = 10; +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: +declare const x = 10; +declare const y = 10; diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js new file mode 100644 index 0000000000000..dc5f7113aeb90 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js @@ -0,0 +1,206 @@ +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/project/a.ts] +const x = 10; + +//// [/src/project/b.ts] +const y = 10; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"noEmitOnError":true,"declaration":true,"composite":true,"outFile":"../outFile.js"}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success + + +//// [/src/outFile.d.ts] +declare const x = 10; +declare const y = 10; + + +//// [/src/outFile.js] +var x = 10; +var y = 10; + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"hash":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-26) +var x = 10; +var y = 10; + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-46) +declare const x = 10; +declare const y = 10; + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 26, + "kind": "text" + } + ], + "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 46, + "kind": "text" + } + ], + "hash": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts" + ], + "fileInfos": { + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 657 +} + + + +Change:: error and enable declarationMap +Input:: +//// [/src/project/a.ts] +const x: 20 = 10; + + + +Output:: +/lib/tsc --p /src/project --declarationMap +src/project/a.ts:1:7 - error TS2322: Type '10' is not assignable to type '20'. + +1 const x: 20 = 10; +   ~ + + +Found 1 error in src/project/a.ts:1 + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: fix error declarationMap +Input:: +//// [/src/project/a.ts] +const x = 10; + + + +Output:: +/lib/tsc --p /src/project --declarationMap +exitCode:: ExitStatus.Success + + +//// [/src/outFile.d.ts.map] +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 26, + "kind": "text" + } + ], + "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 46, + "kind": "text" + } + ], + "hash": "-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts" + ], + "fileInfos": { + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 919 +} + diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js new file mode 100644 index 0000000000000..11dc043c978be --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js @@ -0,0 +1,302 @@ +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/project/a.ts] +const x = 10; + +//// [/src/project/b.ts] +const y = 10; + +//// [/src/project/tsconfig.json] +{"compilerOptions":{"noEmitOnError":true,"declaration":true,"composite":true}} + + + +Output:: +/lib/tsc --p /src/project +exitCode:: ExitStatus.Success + + +//// [/src/project/a.d.ts] +declare const x = 10; + + +//// [/src/project/a.js] +var x = 10; + + +//// [/src/project/b.d.ts] +declare const y = 10; + + +//// [/src/project/b.js] +var y = 10; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-3198459068-declare const x = 10;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "5029505981-const x = 10;", + "signature": "-3198459068-declare const x = 10;\r\n", + "affectsGlobalScope": true + }, + "version": "5029505981-const x = 10;", + "signature": "-3198459068-declare const x = 10;\r\n", + "affectsGlobalScope": true + }, + "./b.ts": { + "original": { + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + }, + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1002 +} + + + +Change:: error and enable declarationMap +Input:: +//// [/src/project/a.ts] +const x: 20 = 10; + + + +Output:: +/lib/tsc --p /src/project --declarationMap +src/project/a.ts:1:7 - error TS2322: Type '10' is not assignable to type '20'. + +1 const x: 20 = 10; +   ~ + + +Found 1 error in src/project/a.ts:1 + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-1601647902-declare const x: 20;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./a.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]],3],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"-3198459068-declare const x = 10;\r\n"]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "5515933561-const x: 20 = 10;", + "signature": "-1601647902-declare const x: 20;\r\n", + "affectsGlobalScope": true + }, + "version": "5515933561-const x: 20 = 10;", + "signature": "-1601647902-declare const x: 20;\r\n", + "affectsGlobalScope": true + }, + "./b.ts": { + "original": { + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + }, + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + [ + "./a.ts", + [ + { + "file": "./a.ts", + "start": 6, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '10' is not assignable to type '20'." + } + ] + ], + "./b.ts" + ], + "affectedFilesPendingEmit": [ + [ + "./a.ts", + "Full" + ], + [ + "./b.ts", + "Full" + ] + ], + "emitSignatures": [ + [ + "./a.ts", + "-3198459068-declare const x = 10;\r\n" + ] + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1249 +} + + + +Change:: fix error declarationMap +Input:: +//// [/src/project/a.ts] +const x = 10; + + + +Output:: +/lib/tsc --p /src/project --declarationMap +exitCode:: ExitStatus.Success + + +//// [/src/project/a.d.ts.map] +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts.map] +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/b.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-3198459068-declare const x = 10;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "5029505981-const x = 10;", + "signature": "-3198459068-declare const x = 10;\r\n", + "affectsGlobalScope": true + }, + "version": "5029505981-const x = 10;", + "signature": "-3198459068-declare const x = 10;\r\n", + "affectsGlobalScope": true + }, + "./b.ts": { + "original": { + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + }, + "version": "2026006654-const y = 10;", + "signature": "-5539113915-declare const y = 10;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1024 +} + diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js new file mode 100644 index 0000000000000..67a55b5f257e4 --- /dev/null +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -0,0 +1,486 @@ +Input:: +//// [/a/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; } + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { "path": "../core" } + ] +} + + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +exports.__esModule = true; +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +exports.__esModule = true; +exports.multiply = exports.leftPad = exports.someString = void 0; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +exports.leftPad = leftPad; +function multiply(a, b) { return a * b; } +exports.multiply = multiply; + + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + }, + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1393 +} + + +/a/lib/tsc.js -w -p logic +Output:: +>> Screen clear +[12:00:50 AM] Starting compilation in watch mode... + +[12:00:59 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/user/username/projects/sample1/logic/index.ts"] +Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"project":"/user/username/projects/sample1/logic","configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) + +Dependencies for:: +/a/lib/lib.d.ts: + /a/lib/lib.d.ts + /user/username/projects/sample1/core/index.d.ts + /user/username/projects/sample1/core/anotherModule.d.ts + /user/username/projects/sample1/logic/index.ts +/user/username/projects/sample1/core/index.d.ts: + /user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts: + /user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts: + /user/username/projects/sample1/logic/index.ts + /user/username/projects/sample1/core/anotherModule.d.ts + /user/username/projects/sample1/core/index.d.ts + +PolledWatches:: +/user/username/projects/sample1/logic/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/sample1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/sample1/logic/tsconfig.json: + {} +/user/username/projects/sample1/core/tsconfig.json: + {} +/user/username/projects/sample1/logic/index.ts: + {} +/user/username/projects/sample1/core/index.d.ts: + {} +/user/username/projects/sample1/core/anothermodule.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/sample1/core: + {} +/user/username/projects/sample1/logic: + {} + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +exports.__esModule = true; +exports.m = exports.getSecondsInDay = void 0; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +exports.getSecondsInDay = getSecondsInDay; +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", + "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + }, + "../core/anothermodule.d.ts": { + "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", + "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + }, + "./index.ts": { + "original": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1510 +} + + +Change:: change declration map in core + +Input:: +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": false, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/core/anotherModule.js] file written with same contents +//// [/user/username/projects/sample1/core/index.js] file written with same contents +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-2676574883-export const World = \"hello\";\r\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + }, + "version": "-9253692965-declare const dts: any;\r\n", + "signature": "-9253692965-declare const dts: any;\r\n", + "affectsGlobalScope": true + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": false, + "skipDefaultLibCheck": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1394 +} + + +Output:: +>> Screen clear +[12:01:18 AM] File change detected. Starting incremental compilation... + +[12:01:19 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/user/username/projects/sample1/logic/index.ts"] +Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFileNames":true,"skipDefaultLibCheck":true,"watch":true,"project":"/user/username/projects/sample1/logic","configFilePath":"/user/username/projects/sample1/logic/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +Dependencies for:: +/a/lib/lib.d.ts: + /a/lib/lib.d.ts + /user/username/projects/sample1/core/index.d.ts + /user/username/projects/sample1/core/anotherModule.d.ts + /user/username/projects/sample1/logic/index.ts +/user/username/projects/sample1/core/index.d.ts: + /user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts: + /user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts: + /user/username/projects/sample1/logic/index.ts + /user/username/projects/sample1/core/anotherModule.d.ts + /user/username/projects/sample1/core/index.d.ts + +PolledWatches:: +/user/username/projects/sample1/logic/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/sample1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/sample1/logic/tsconfig.json: + {} +/user/username/projects/sample1/core/tsconfig.json: + {} +/user/username/projects/sample1/logic/index.ts: + {} +/user/username/projects/sample1/core/index.d.ts: + {} +/user/username/projects/sample1/core/anothermodule.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/sample1/core: + {} +/user/username/projects/sample1/logic: + {} + +exitCode:: ExitStatus.undefined + diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js new file mode 100644 index 0000000000000..59a90fce7550d --- /dev/null +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js @@ -0,0 +1,312 @@ +Input:: +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"composite":true,"noEmitOnError":true,"module":"amd","outFile":"outFile.js"},"files":["a.ts","b.ts"]} + +//// [/user/username/projects/myproject/a.ts] +export const x = 10; + +//// [/user/username/projects/myproject/b.ts] +export const y: 10 = 20; + +//// [/a/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; } + + +/a/lib/tsc.js --w --extendedDiagnostics +Output:: +[12:00:23 AM] Starting compilation in watch mode... + +Current directory: /user/username/projects/myproject CaseSensitiveFileNames: false +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file +Synchronizing program +CreatingProgramWith:: + roots: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] + options: {"composite":true,"noEmitOnError":true,"module":2,"outFile":"/user/username/projects/myproject/outFile.js","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +b.ts:1:14 - error TS2322: Type '20' is not assignable to type '10'. + +1 export const y: 10 = 20; +   ~ + +[12:00:24 AM] Found 1 error. Watching for file changes. + + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] +Program options: {"composite":true,"noEmitOnError":true,"module":2,"outFile":"/user/username/projects/myproject/outFile.js","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/b.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Fix error but run emit with emitOnlyDts + +Input:: +//// [/user/username/projects/myproject/b.ts] +export const y = 10; + + +Output:: +FileWatcher:: Triggered with /user/username/projects/myproject/b.ts 1:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +Scheduling update +Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/b.ts 1:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +Synchronizing program +[12:00:28 AM] File change detected. Starting incremental compilation... + +CreatingProgramWith:: + roots: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] + options: {"composite":true,"noEmitOnError":true,"module":2,"outFile":"/user/username/projects/myproject/outFile.js","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] +Program options: {"composite":true,"noEmitOnError":true,"module":2,"outFile":"/user/username/projects/myproject/outFile.js","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Completely +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/b.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/outFile.d.ts] +declare module "a" { + export const x = 10; +} +declare module "b" { + export const y = 10; +} + + +//// [/user/username/projects/myproject/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./", + "sourceFiles": [ + "./a.ts", + "./b.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 96, + "kind": "text" + } + ], + "hash": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n" + } + }, + "program": { + "fileNames": [ + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "./a.ts": "-10726455937-export const x = 10;", + "./b.ts": "-13729955264-export const y = 10;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 643 +} + +//// [/user/username/projects/myproject/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /user/username/projects/myproject/outFile.js +====================================================================== +====================================================================== +File:: /user/username/projects/myproject/outFile.d.ts +---------------------------------------------------------------------- +text: (0-96) +declare module "a" { + export const x = 10; +} +declare module "b" { + export const y = 10; +} + +====================================================================== + + +Change:: Emit with emitOnlyDts shouldnt emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit all files + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit with emitOnlyDts shouldnt emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit full should not emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js new file mode 100644 index 0000000000000..f45cda69f0948 --- /dev/null +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js @@ -0,0 +1,389 @@ +Input:: +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"composite":true,"noEmitOnError":true,"module":"amd"},"files":["a.ts","b.ts"]} + +//// [/user/username/projects/myproject/a.ts] +export const x = 10; + +//// [/user/username/projects/myproject/b.ts] +export const y: 10 = 20; + +//// [/a/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; } + + +/a/lib/tsc.js --w --extendedDiagnostics +Output:: +[12:00:23 AM] Starting compilation in watch mode... + +Current directory: /user/username/projects/myproject CaseSensitiveFileNames: false +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file +Synchronizing program +CreatingProgramWith:: + roots: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] + options: {"composite":true,"noEmitOnError":true,"module":2,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +b.ts:1:14 - error TS2322: Type '20' is not assignable to type '10'. + +1 export const y: 10 = 20; +   ~ + +[12:00:26 AM] Found 1 error. Watching for file changes. + + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] +Program options: {"composite":true,"noEmitOnError":true,"module":2,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/b.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/b.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/myproject/a.ts (used version) +/user/username/projects/myproject/b.ts (used version) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"options":{"composite":true,"module":2,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,[3,[{"file":"./b.ts","start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-10726455937-export const x = 10;", + "signature": "-10726455937-export const x = 10;" + }, + "./b.ts": { + "version": "-11268290852-export const y: 10 = 20;", + "signature": "-11268290852-export const y: 10 = 20;" + } + }, + "options": { + "composite": true, + "module": 2, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + [ + "./b.ts", + [ + { + "file": "./b.ts", + "start": 13, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type '20' is not assignable to type '10'." + } + ] + ] + ], + "affectedFilesPendingEmit": [ + [ + "./a.ts", + "Full" + ], + [ + "./b.ts", + "Full" + ] + ], + "emitSignatures": [ + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 913 +} + + +Change:: Fix error but run emit with emitOnlyDts + +Input:: +//// [/user/username/projects/myproject/b.ts] +export const y = 10; + + +Output:: +FileWatcher:: Triggered with /user/username/projects/myproject/b.ts 1:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +Scheduling update +Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/b.ts 1:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file +Synchronizing program +[12:00:32 AM] File change detected. Starting incremental compilation... + +CreatingProgramWith:: + roots: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] + options: {"composite":true,"noEmitOnError":true,"module":2,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} + + +Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] +Program options: {"composite":true,"noEmitOnError":true,"module":2,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program structureReused: Completely +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/a.ts +/user/username/projects/myproject/b.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/b.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/myproject/b.ts (computed .d.ts) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"module":2,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./b.ts": { + "original": { + "version": "-13729955264-export const y = 10;", + "signature": "-7152472870-export declare const y = 10;\n" + }, + "version": "-13729955264-export const y = 10;", + "signature": "-7152472870-export declare const y = 10;\n" + } + }, + "options": { + "composite": true, + "module": 2, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 898 +} + +//// [/user/username/projects/myproject/a.d.ts] +export declare const x = 10; + + +//// [/user/username/projects/myproject/b.d.ts] +export declare const y = 10; + + + +Change:: Emit with emitOnlyDts shouldnt emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit all files + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit with emitOnlyDts shouldnt emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + + +Change:: Emit full should not emit anything + +Input:: + +Output:: + +Program: Same as old program + +BuilderProgram: Same as old builder program + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/a.ts: + {} +/user/username/projects/myproject/b.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + From a2904e1a0b93f4adb21e152019e0f34a8212d43f Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 14 Oct 2022 10:53:53 -0700 Subject: [PATCH 02/11] Fix assert for first project output --- src/compiler/emitter.ts | 4 +- ...-commandline-with-outFile-discrepancies.js | 4 + ...nOnly-false-on-commandline-with-outFile.js | 415 ++++++++++++++++++ 3 files changed, 421 insertions(+), 2 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js create mode 100644 tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index bb5c0f72cc360..938e1f7be0d68 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -257,8 +257,8 @@ namespace ts { /*@internal*/ export function getFirstProjectOutput(configFile: ParsedCommandLine, ignoreCase: boolean): string { if (outFile(configFile.options)) { - const { jsFilePath } = getOutputPathsForBundle(configFile.options, /*forceDtsPaths*/ false); - return Debug.checkDefined(jsFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`); + const { jsFilePath, declarationFilePath } = getOutputPathsForBundle(configFile.options, /*forceDtsPaths*/ false); + return Debug.checkDefined(jsFilePath || declarationFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`); } const getCommonSourceDirectory = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase)); diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..faec1530e4446 --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -0,0 +1,4 @@ +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js new file mode 100644 index 0000000000000..9ae0b9f03a9dd --- /dev/null +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -0,0 +1,415 @@ +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/project1/src/a.ts] +export const a = 10;const aLocal = 10; + +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10; + +//// [/src/project1/src/c.ts] +import { a } from "./a";export const c = a; + +//// [/src/project1/src/d.ts] +import { b } from "./b";export const d = b; + +//// [/src/project1/src/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true}} + +//// [/src/project2/src/e.ts] +export const e = 10; + +//// [/src/project2/src/f.ts] +import { a } from "a"; export const f = a; + +//// [/src/project2/src/g.ts] +import { b } from "b"; export const g = b; + +//// [/src/project2/src/tsconfig.json] +{"compilerOptions":{"composite":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1132 +} + +//// [/src/project2/outFile.d.ts] +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + + +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 916 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:36 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:38 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' + +[12:00:40 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:45 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:00:46 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1146 +} + +//// [/src/project2/outFile.tsbuildinfo] file changed its modified time + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:49 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:51 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: no change run with js emit +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: js emit with change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const blocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false +error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + From c0c3416d651ff9c0011d91c654b0d577affd18cc Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 17 Oct 2022 14:39:17 -0700 Subject: [PATCH 03/11] Add ability to pass declaration, declarationMap, emitDeclarationOnly, sourceMap and inlineSourceMap on commandline of --build --- src/compiler/commandLineParser.ts | 107 +- src/compiler/tsbuildPublic.ts | 5 + .../unittests/config/commandLineParsing.ts | 2 +- .../reference/api/tsserverlibrary.d.ts | 5 + tests/baselines/reference/api/typescript.d.ts | 5 + ...mmon may not be used with --build flags.js | 3 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../different-options-discrepancies.js | 896 ++++++++++++- ...-options-with-incremental-discrepancies.js | 1168 +++++++++++++++- ...-incremental-with-outFile-discrepancies.js | 1161 +++++++++++++++- ...t-options-with-incremental-with-outFile.js | 78 +- .../different-options-with-incremental.js | 78 +- ...rent-options-with-outFile-discrepancies.js | 765 ++++++++++- .../different-options-with-outFile.js | 71 +- .../tsbuild/commandLine/different-options.js | 71 +- ...Only-false-on-commandline-discrepancies.js | 646 ++++++++- ...claration-and-incremental-discrepancies.js | 549 +++++++- ...-incremental-with-outFile-discrepancies.js | 328 ++++- ...eclaration-and-incremental-with-outFile.js | 243 +++- ...ndline-with-declaration-and-incremental.js | 251 +++- ...mmandline-with-declaration-with-outFile.js | 200 ++- ...y-false-on-commandline-with-declaration.js | 213 ++- ...-commandline-with-outFile-discrepancies.js | 869 +++++++++++- ...nOnly-false-on-commandline-with-outFile.js | 197 ++- ...mitDeclarationOnly-false-on-commandline.js | 180 ++- ...rationOnly-on-commandline-discrepancies.js | 384 ++++++ ...claration-and-incremental-discrepancies.js | 711 +++++++++- ...-incremental-with-outFile-discrepancies.js | 167 +++ ...eclaration-and-incremental-with-outFile.js | 610 +++++++-- ...ndline-with-declaration-and-incremental.js | 991 +++++++++++--- ...mmandline-with-declaration-with-outFile.js | 398 +++++- ...ionOnly-on-commandline-with-declaration.js | 455 ++++++- ...-commandline-with-outFile-discrepancies.js | 519 +++++++ ...arationOnly-on-commandline-with-outFile.js | 1033 +++++++++----- .../emitDeclarationOnly-on-commandline.js | 1194 +++++++++++++---- ...does-not-add-color-when-NO_COLOR-is-set.js | 40 +- ...-when-host-can't-provide-terminal-width.js | 40 +- ...tatus.DiagnosticsPresent_OutputsSkipped.js | 40 +- 48 files changed, 13469 insertions(+), 1226 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 144804dc021e3..28773f696f929 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -300,6 +300,59 @@ namespace ts { transpileOptionValue: undefined, defaultValueDescription: Diagnostics.false_unless_composite_is_set }, + { + name: "declaration", + shortName: "d", + type: "boolean", + affectsEmit: true, + affectsMultiFileEmitBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + transpileOptionValue: undefined, + description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project, + defaultValueDescription: Diagnostics.false_unless_composite_is_set, + }, + { + name: "declarationMap", + type: "boolean", + affectsEmit: true, + affectsMultiFileEmitBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + transpileOptionValue: undefined, + defaultValueDescription: false, + description: Diagnostics.Create_sourcemaps_for_d_ts_files + }, + { + name: "emitDeclarationOnly", + type: "boolean", + affectsEmit: true, + affectsMultiFileEmitBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, + transpileOptionValue: undefined, + defaultValueDescription: false, + }, + { + name: "sourceMap", + type: "boolean", + affectsEmit: true, + affectsMultiFileEmitBuildInfo: true, + showInSimplifiedHelpView: true, + category: Diagnostics.Emit, + defaultValueDescription: false, + description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files, + }, + { + name: "inlineSourceMap", + type: "boolean", + affectsEmit: true, + affectsMultiFileEmitBuildInfo: true, + category: Diagnostics.Emit, + description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, + defaultValueDescription: false, + }, { name: "assumeChangesOnlyAffectDirectDependencies", type: "boolean", @@ -488,51 +541,6 @@ namespace ts { description: Diagnostics.Specify_what_JSX_code_is_generated, defaultValueDescription: undefined, }, - { - name: "declaration", - shortName: "d", - type: "boolean", - affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - transpileOptionValue: undefined, - description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project, - defaultValueDescription: Diagnostics.false_unless_composite_is_set, - }, - { - name: "declarationMap", - type: "boolean", - affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - transpileOptionValue: undefined, - defaultValueDescription: false, - description: Diagnostics.Create_sourcemaps_for_d_ts_files - }, - { - name: "emitDeclarationOnly", - type: "boolean", - affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - showInSimplifiedHelpView: true, - - category: Diagnostics.Emit, - description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, - transpileOptionValue: undefined, - defaultValueDescription: false, - }, - { - name: "sourceMap", - type: "boolean", - affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - showInSimplifiedHelpView: true, - category: Diagnostics.Emit, - defaultValueDescription: false, - description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files, - }, { name: "outFile", type: "string", @@ -972,15 +980,6 @@ namespace ts { category: Diagnostics.Emit, description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations, }, - { - name: "inlineSourceMap", - type: "boolean", - affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - category: Diagnostics.Emit, - description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, - defaultValueDescription: false, - }, { name: "inlineSources", type: "boolean", diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 1251fca05a9e3..3293fafe197b0 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -18,6 +18,11 @@ namespace ts { /*@internal*/ pretty?: boolean; incremental?: boolean; assumeChangesOnlyAffectDirectDependencies?: boolean; + declaration?: boolean; + declarationMap?: boolean; + emitDeclarationOnly?: boolean; + sourceMap?: boolean; + inlineSourceMap?: boolean; traceResolution?: boolean; /* @internal */ diagnostics?: boolean; diff --git a/src/testRunner/unittests/config/commandLineParsing.ts b/src/testRunner/unittests/config/commandLineParsing.ts index 4b4c200d49985..f0afc9baffc55 100644 --- a/src/testRunner/unittests/config/commandLineParsing.ts +++ b/src/testRunner/unittests/config/commandLineParsing.ts @@ -220,7 +220,7 @@ namespace ts { assertParseResult("parse build with --incremental", ["--incremental", "tests"]); assertParseResult("parse build with --locale en-us", ["--locale", "en-us", "src"]); assertParseResult("parse build with --tsBuildInfoFile", ["--tsBuildInfoFile", "build.tsbuildinfo", "tests"]); - assertParseResult("reports other common may not be used with --build flags", ["--declaration", "--strict"]); + assertParseResult("reports other common may not be used with --build flags", ["--strict"]); describe("Combining options that make no sense together", () => { function verifyInvalidCombination(flag1: keyof BuildOptions, flag2: keyof BuildOptions) { diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index ddad8c8af148f..78a965a96a257 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -5529,6 +5529,11 @@ declare namespace ts { verbose?: boolean; incremental?: boolean; assumeChangesOnlyAffectDirectDependencies?: boolean; + declaration?: boolean; + declarationMap?: boolean; + emitDeclarationOnly?: boolean; + sourceMap?: boolean; + inlineSourceMap?: boolean; traceResolution?: boolean; [option: string]: CompilerOptionsValue | undefined; } diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index fb20a3f32e242..44b511c3372b7 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -5529,6 +5529,11 @@ declare namespace ts { verbose?: boolean; incremental?: boolean; assumeChangesOnlyAffectDirectDependencies?: boolean; + declaration?: boolean; + declarationMap?: boolean; + emitDeclarationOnly?: boolean; + sourceMap?: boolean; + inlineSourceMap?: boolean; traceResolution?: boolean; [option: string]: CompilerOptionsValue | undefined; } diff --git a/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/reports other common may not be used with --build flags.js b/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/reports other common may not be used with --build flags.js index b758998ce1620..2428e609e36a3 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/reports other common may not be used with --build flags.js +++ b/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/reports other common may not be used with --build flags.js @@ -1,4 +1,4 @@ ---declaration --strict +--strict buildOptions:: {} WatchOptions:: @@ -6,5 +6,4 @@ WatchOptions:: Projects:: . Errors:: -error TS5094: Compiler option '--declaration' may not be used with '--build'. error TS5094: Compiler option '--strict' may not be used with '--build'. diff --git a/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json index 75dcaeac2e2b9..19844ec8065fc 100644 --- a/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --help/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --help/tsconfig.json index 75dcaeac2e2b9..19844ec8065fc 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --help/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --help/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --watch/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --watch/tsconfig.json index 75dcaeac2e2b9..19844ec8065fc 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --watch/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --watch/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with advanced options/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with advanced options/tsconfig.json index ce36f2a0fcfd7..6e28e016bd11d 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with advanced options/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with advanced options/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json index a4be57dd3410e..d73dbd191a220 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with enum value compiler options/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with enum value compiler options/tsconfig.json index faa350ae98575..c4c554e65dffb 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with enum value compiler options/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with enum value compiler options/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with files options/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with files options/tsconfig.json index 09587994ffbcd..2368ed9c35291 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with files options/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with files options/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json index abb2dfd47088b..195f29bcb8708 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json index 75dcaeac2e2b9..19844ec8065fc 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json index 04aa9196bfc65..fe6fd06aa610a 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options/tsconfig.json b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options/tsconfig.json index 4eb9bb8aa4b84..12daecbe8ed51 100644 --- a/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Initialized TSConfig with list compiler options/tsconfig.json @@ -48,6 +48,7 @@ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ // "outDir": "./", /* Specify an output folder for all emitted files. */ // "removeComments": true, /* Disable emitting comments. */ @@ -57,7 +58,6 @@ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ // "newLine": "crlf", /* Set the newline character for emitting files. */ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js index 5d41025734ded..91a1a7db40d03 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js @@ -1,12 +1,902 @@ +0:: with sourceMap +*** Needs explanation +File: /src/project/a.js.map +CleanBuild: +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + +File: /src/project/b.js.map +CleanBuild: +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js.map +CleanBuild: +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js.map +CleanBuild: +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +4:: with declaration and declarationMap +*** Needs explanation +File: /src/project/a.d.ts.map +CleanBuild: +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: +export declare const a = 10; + +File: /src/project/b.d.ts.map +CleanBuild: +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: +export declare const b = 10; + +File: /src/project/c.d.ts.map +CleanBuild: +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: +export declare const c = 10; + +File: /src/project/d.d.ts.map +CleanBuild: +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: +export declare const d = 10; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +10:: with inlineSourceMap +*** Needs explanation +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +11:: with sourceMap +*** Needs explanation +File: /src/project/a.js.map +CleanBuild: +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +IncrementalBuild: + +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + +File: /src/project/b.js.map +CleanBuild: +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js.map +CleanBuild: +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js.map +CleanBuild: +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js index 0077d68e3d6ea..04eafdb70180c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js @@ -1,7 +1,179 @@ 0:: with sourceMap Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -*** Supplied discrepancy explanation but didnt file any difference +File: /src/project/a.js.map +CleanBuild: +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + +File: /src/project/b.js.map +CleanBuild: +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js.map +CleanBuild: +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js.map +CleanBuild: +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} 1:: should re-emit only js so they dont contain sourcemap Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed @@ -15,6 +187,265 @@ Incremental: { ] } Clean: {} +2:: with declaration, emit Dts and should not emit js +*** Needs explanation +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; + +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; + +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; + +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +3:: with declaration and declarationMap +*** Needs explanation +File: /src/project/a.d.ts.map +CleanBuild: +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: + +File: /src/project/b.d.ts.map +CleanBuild: +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: + +File: /src/project/c.d.ts.map +CleanBuild: +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: + +File: /src/project/d.d.ts.map +CleanBuild: +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} 4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap @@ -37,6 +468,143 @@ Incremental: { ] } Clean: {} +6:: with declaration and declarationMap +*** Needs explanation +File: /src/project/a.d.ts.map +CleanBuild: +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: + +File: /src/project/b.d.ts.map +CleanBuild: +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: + +File: /src/project/c.d.ts.map +CleanBuild: +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: + +File: /src/project/d.d.ts.map +CleanBuild: +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} 7:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap @@ -47,6 +615,330 @@ Incremental: { ] } Clean: {} +8:: with inlineSourceMap +*** Needs explanation +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +9:: with sourceMap +*** Needs explanation +File: /src/project/a.js.map +CleanBuild: +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} +IncrementalBuild: + +File: /src/project/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + +File: /src/project/b.js.map +CleanBuild: +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} +IncrementalBuild: + +File: /src/project/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +File: /src/project/c.js.map +CleanBuild: +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +File: /src/project/d.js.map +CleanBuild: +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/project/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map +IncrementalBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} 10:: emit js files *** Needs explanation Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt @@ -55,4 +947,278 @@ Incremental: { "./b.ts" ] } +Clean: {} +11:: with declaration and declarationMap +*** Needs explanation +File: /src/project/a.d.ts.map +CleanBuild: +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: + +File: /src/project/b.d.ts.map +CleanBuild: +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: + +File: /src/project/c.d.ts.map +CleanBuild: +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: + +File: /src/project/d.d.ts.map +CleanBuild: +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} +Clean: {} +12:: with declaration and declarationMap, should not re-emit +*** Needs explanation +File: /src/project/a.d.ts.map +CleanBuild: +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/a.d.ts +CleanBuild: +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map +IncrementalBuild: + +File: /src/project/b.d.ts.map +CleanBuild: +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} +IncrementalBuild: + +File: /src/project/b.d.ts +CleanBuild: +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map +IncrementalBuild: + +File: /src/project/c.d.ts.map +CleanBuild: +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/c.d.ts +CleanBuild: +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map +IncrementalBuild: + +File: /src/project/d.d.ts.map +CleanBuild: +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/project/d.d.ts +CleanBuild: +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt +Incremental: { + "./d.ts": [ + "./b.ts" + ] +} Clean: {} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index e28d13349187c..052c62513bd32 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,12 +1,1171 @@ +0:: with sourceMap +*** Needs explanation +File: /src/outfile.js.map +CleanBuild: +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +2:: with declaration, emit Dts and should not emit js +*** Needs explanation +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +3:: with declaration and declarationMap +*** Needs explanation +File: /src/outfile.d.ts.map +CleanBuild: +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== 4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section Incremental build contains the dts build section from before *** Supplied discrepancy explanation but didnt file any difference +6:: with declaration and declarationMap +*** Needs explanation +File: /src/outfile.d.ts.map +CleanBuild: +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== 7:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section Incremental build contains the dts build section from before -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +8:: with inlineSourceMap +*** Needs explanation +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +9:: with sourceMap +*** Needs explanation +File: /src/outfile.js.map +CleanBuild: +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +11:: with declaration and declarationMap +*** Needs explanation +File: /src/outfile.d.ts.map +CleanBuild: +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +12:: with declaration and declarationMap, should not re-emit +*** Needs explanation +File: /src/outfile.d.ts.map +CleanBuild: +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index 4897f9599cbbf..13f899c86078f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -155,9 +155,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:20 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:21 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -168,10 +171,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:20 AM] Projects in this build: +[12:00:22 AM] Projects in this build: * src/project/tsconfig.json -[12:00:21 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -184,9 +187,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:24 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -197,11 +203,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:26 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -212,10 +219,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:22 AM] Projects in this build: +[12:00:28 AM] Projects in this build: * src/project/tsconfig.json -[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -231,12 +238,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:25 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/project/tsconfig.json -[12:00:26 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:32 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:27 AM] Building project '/src/project/tsconfig.json'... +[12:00:33 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -353,11 +360,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:39 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:40 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -368,10 +376,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:33 AM] Projects in this build: +[12:00:41 AM] Projects in this build: * src/project/tsconfig.json -[12:00:34 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:42 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -384,9 +392,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. +[12:00:43 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:44 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -397,9 +408,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:45 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:46 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -410,10 +424,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:35 AM] Projects in this build: +[12:00:47 AM] Projects in this build: * src/project/tsconfig.json -[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:48 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -426,11 +440,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:49 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:50 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -441,10 +456,11 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:51 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:52 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js index 1fd1e81a3d891..5d4af89fd7e67 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js @@ -182,9 +182,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:22 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -195,10 +198,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:22 AM] Projects in this build: +[12:00:24 AM] Projects in this build: * src/project/tsconfig.json -[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -211,9 +214,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:26 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -224,11 +230,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:28 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -239,10 +246,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:24 AM] Projects in this build: +[12:00:30 AM] Projects in this build: * src/project/tsconfig.json -[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -258,12 +265,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:27 AM] Projects in this build: +[12:00:33 AM] Projects in this build: * src/project/tsconfig.json -[12:00:28 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:34 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:29 AM] Building project '/src/project/tsconfig.json'... +[12:00:35 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -383,11 +390,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:41 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:42 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -398,10 +406,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:35 AM] Projects in this build: +[12:00:43 AM] Projects in this build: * src/project/tsconfig.json -[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:44 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -414,9 +422,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. +[12:00:45 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:46 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -427,9 +438,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:47 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:48 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -440,10 +454,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:37 AM] Projects in this build: +[12:00:49 AM] Projects in this build: * src/project/tsconfig.json -[12:00:38 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:50 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -456,11 +470,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:51 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:52 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -471,10 +486,11 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:53 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:54 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 32a33a4466d8c..729f4e34158f0 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -1,14 +1,775 @@ +0:: with sourceMap +*** Needs explanation +File: /src/outfile.js.map +CleanBuild: +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only *** Supplied discrepancy explanation but didnt file any difference +4:: with declaration and declarationMap +*** Needs explanation +File: /src/outfile.d.ts.map +CleanBuild: +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} +IncrementalBuild: + +File: /src/outfile.d.ts +CleanBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +IncrementalBuild: +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only Clean build info does not have js section because its fresh build Incremental build info has js section from old build -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +10:: with inlineSourceMap +*** Needs explanation +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +11:: with sourceMap +*** Needs explanation +File: /src/outfile.js.map +CleanBuild: +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} +IncrementalBuild: + +File: /src/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map +IncrementalBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js index 21c09cc67deda..ecc24ee1e220b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -218,9 +218,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:21 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:22 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -231,10 +234,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:21 AM] Projects in this build: +[12:00:23 AM] Projects in this build: * src/project/tsconfig.json -[12:00:22 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:24 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -247,9 +250,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:25 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:26 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -260,10 +266,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:23 AM] Projects in this build: +[12:00:27 AM] Projects in this build: * src/project/tsconfig.json -[12:00:24 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:28 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -276,11 +282,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:29 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:30 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -291,10 +298,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:25 AM] Projects in this build: +[12:00:31 AM] Projects in this build: * src/project/tsconfig.json -[12:00:26 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:32 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -307,9 +314,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:33 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:34 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -320,10 +330,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:27 AM] Projects in this build: +[12:00:35 AM] Projects in this build: * src/project/tsconfig.json -[12:00:28 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -339,12 +349,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:30 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/project/tsconfig.json -[12:00:31 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:39 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:32 AM] Building project '/src/project/tsconfig.json'... +[12:00:40 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -509,9 +519,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:46 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:47 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -522,9 +535,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. +[12:00:48 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:49 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -535,8 +551,11 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:50 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options.js b/tests/baselines/reference/tsbuild/commandLine/different-options.js index 3df57d4c4ceb3..3c259ffe8b297 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options.js @@ -211,9 +211,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:26 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -224,10 +227,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:26 AM] Projects in this build: +[12:00:28 AM] Projects in this build: * src/project/tsconfig.json -[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -240,9 +243,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:30 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -253,10 +259,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:28 AM] Projects in this build: +[12:00:32 AM] Projects in this build: * src/project/tsconfig.json -[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:33 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -269,11 +275,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:34 AM] Projects in this build: + * src/project/tsconfig.json -error TS5094: Compiler option '--declarationMap' may not be used with '--build'. +[12:00:35 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -284,10 +291,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:30 AM] Projects in this build: +[12:00:36 AM] Projects in this build: * src/project/tsconfig.json -[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:37 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -300,9 +307,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:38 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:39 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -313,10 +323,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:32 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/project/tsconfig.json -[12:00:33 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:41 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -332,12 +342,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:35 AM] Projects in this build: +[12:00:43 AM] Projects in this build: * src/project/tsconfig.json -[12:00:36 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:44 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:37 AM] Building project '/src/project/tsconfig.json'... +[12:00:45 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -462,9 +472,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -error TS5094: Compiler option '--declaration' may not be used with '--build'. +[12:00:50 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -475,9 +488,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -error TS5094: Compiler option '--inlineSourceMap' may not be used with '--build'. +[12:00:52 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:53 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -488,8 +504,11 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -error TS5094: Compiler option '--sourceMap' may not be used with '--build'. +[12:00:54 AM] Projects in this build: + * src/project/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:55 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js index faec1530e4446..c764688285cd7 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -1,4 +1,648 @@ +2:: emit js files +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/src/e.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + +IncrementalBuild: + +File: /src/project2/src/f.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + +IncrementalBuild: + +File: /src/project2/src/g.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +4:: no change run with js emit +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/src/e.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + +IncrementalBuild: + +File: /src/project2/src/f.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + +IncrementalBuild: + +File: /src/project2/src/g.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +5:: js emit with change +*** Needs explanation +File: /src/project2/src/e.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + +IncrementalBuild: + +File: /src/project2/src/f.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + +IncrementalBuild: + +File: /src/project2/src/g.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js index faec1530e4446..4a89a944bb04d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -1,4 +1,551 @@ +2:: emit js files +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +4:: no change run with js emit +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +5:: js emit with change +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index faec1530e4446..d904b4285aa4d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -1,4 +1,330 @@ +2:: emit js files +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +4:: no change run with js emit +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index 3d6f5c6253f15..afb16ea75459f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -273,9 +273,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:44 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:45 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -286,15 +315,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:44 AM] Projects in this build: +[12:00:48 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:45 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -328,9 +357,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:52 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:55 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -344,8 +402,177 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:57 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:58 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:00:59 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:01:07 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd","emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var blocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-786) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var blocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 786, + "kind": "text" + } + ], + "hash": "18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 1406 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index 459508108e38d..6d52b63236146 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -510,9 +510,39 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:48 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -523,15 +553,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:48 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:55 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -566,9 +596,39 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:56 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:57 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:58 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:59 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -582,8 +642,183 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:01 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:15 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:16 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var blocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1326 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js index 531510873fa54..d7e9b2da2fa1e 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-with-outFile.js @@ -222,11 +222,87 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:36 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:37 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.js' does not exist + +[12:00:38 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:41 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:42 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + Change:: no-change-run @@ -235,15 +311,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:36 AM] Projects in this build: +[12:00:43 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:37 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.d.ts' +[12:00:44 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.d.ts' -[12:00:38 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist +[12:00:45 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist -[12:00:39 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:46 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -277,9 +353,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:47 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:48 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.js' + +[12:00:49 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:50 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -293,8 +398,85 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:52 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' + +[12:00:54 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:123 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var blocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js index a70a4d3a111e6..11e981b30791f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration.js @@ -249,11 +249,104 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:42 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:43 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.js' does not exist + +[12:00:44 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:00:54 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + Change:: no-change-run @@ -262,15 +355,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:42 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:43 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/a.d.ts' +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/a.d.ts' -[12:00:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist -[12:00:45 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -305,9 +398,39 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:59 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/a.js' + +[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -321,8 +444,80 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:04 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' + +[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:15 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist + +[12:01:16 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:82 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"emitDeclarationOnly":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var blocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] file written with same contents diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js index faec1530e4446..0d7320fdfba2b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -1,4 +1,871 @@ +2:: emit js files +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +File: /src/project2/outfile.js +CleanBuild: +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +*** Supplied discrepancy explanation but didnt file any difference +4:: no change run with js emit +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +File: /src/project2/outfile.js +CleanBuild: +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +5:: js emit with change +*** Needs explanation +File: /src/project2/outfile.js +CleanBuild: +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js index 9ae0b9f03a9dd..a204f8496695d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -360,9 +360,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:49 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:51 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -373,13 +379,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:49 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:51 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -392,9 +398,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:55 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success @@ -408,8 +420,175 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:59 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:01 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:07 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:08 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var blocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-786) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var blocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 786, + "kind": "text" + } + ], + "hash": "18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2117 +} + +//// [/src/project2/outFile.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js index 0120ee0080ad2..3146c1ce48ade 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js @@ -479,9 +479,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:51 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -492,13 +498,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:51 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:00:56 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -511,9 +517,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:57 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:58 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:59 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success @@ -527,8 +539,158 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:01 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:11 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:12 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var blocal = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1358 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js index 7e2c7d6451e1e..91b44081cbca1 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js @@ -1,7 +1,391 @@ +3:: emit js files +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/src/e.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + +IncrementalBuild: + +File: /src/project2/src/f.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + +IncrementalBuild: + +File: /src/project2/src/g.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 4:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only *** Supplied discrepancy explanation but didnt file any difference +5:: js emit with change without emitDeclarationOnly +*** Needs explanation +File: /src/project2/src/e.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + +IncrementalBuild: + +File: /src/project2/src/f.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + +IncrementalBuild: + +File: /src/project2/src/g.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 6:: local change Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js index 8b8c4ead4e954..714fcc3ae937f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -1,11 +1,713 @@ +2:: non local change +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +3:: emit js files +*** Needs explanation +File: /src/project1/src/a.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + +IncrementalBuild: + +File: /src/project1/src/b.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + +IncrementalBuild: + +File: /src/project1/src/c.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + +IncrementalBuild: + +File: /src/project1/src/d.js +CleanBuild: +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} 4:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +5:: js emit with change without emitDeclarationOnly +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} 6:: local change Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +7:: non local change +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion" +} 8:: js emit with change without emitDeclarationOnly *** Needs explanation TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: @@ -67,7 +769,7 @@ IncrementalBuild: "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-3762229137-export declare const a = 10;\r\n" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" @@ -80,7 +782,8 @@ IncrementalBuild: } }, "options": { - "declaration": true + "declaration": true, + "emitDeclarationOnly": true }, "referencedMap": { "./f.ts": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index e0ef84f89b03c..2e62684ba833b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -1,3 +1,170 @@ +3:: emit js files +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 4:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index 68976a301f607..6692c2009515a 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -45,11 +45,119 @@ import { b } from "b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 452 +} + Change:: no-change-run @@ -58,9 +166,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:29 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:30 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:31 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:32 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -74,46 +211,82 @@ export const a = 10;const aLocal = 10;const aa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' +[12:00:36 AM] Building project '/src/project1/src/tsconfig.json'... -Change:: non local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; +[12:00:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:43 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +No cached semantic diagnostics in the builder:: -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.tsbuildinfo] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents -Change:: emit js files +Change:: non local change Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:45 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist +[12:00:46 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:47 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:54 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -125,7 +298,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -139,7 +312,7 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -169,76 +342,11 @@ declare module "d" { } -//// [/src/project1/outFile.js] -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - - //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== -File:: /src/project1/outFile.js ----------------------------------------------------------------------- -text: (0-801) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== File:: /src/project1/outFile.d.ts ---------------------------------------------------------------------- text: (0-232) @@ -268,16 +376,6 @@ declare module "d" { "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 801, - "kind": "text" - } - ], - "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -290,20 +388,91 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1450 + "size": 481 } +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:55 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + Change:: no-change-run Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:59 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -317,17 +486,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:33 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:00:35 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:43 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -505,11 +674,106 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:16 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:17 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:18 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:24 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:01:25 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 481 +} + Change:: non local change @@ -521,11 +785,123 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:27 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:28 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:29 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:01:36 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-262) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 262, + "kind": "text" + } + ], + "hash": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "version": "FakeTSVersion", + "size": 513 +} + Change:: js emit with change without emitDeclarationOnly @@ -537,17 +913,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:47 AM] Projects in this build: +[12:01:38 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:00:49 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:40 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:56 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:47 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:57 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:48 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index b85cca75a1e79..2c5e2ff1d8ff7 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -45,75 +45,17 @@ import { b } from "../../project1/src/b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: non local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: emit js files -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:30 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -125,7 +67,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -149,7 +91,7 @@ Shape signatures in builder refreshed for:: /src/project1/src/d.ts (computed .d.ts during emit) Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -166,57 +108,22 @@ No shapes updated in the builder:: //// [/src/project1/src/a.d.ts] export declare const a = 10; -export declare const aaa = 10; - - -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; //// [/src/project1/src/b.d.ts] export declare const b = 10; -//// [/src/project1/src/b.js] -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - - //// [/src/project1/src/c.d.ts] export declare const c = 10; -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - //// [/src/project1/src/d.d.ts] export declare const d = 10; -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -248,11 +155,11 @@ exports.d = b_1.b; }, "./a.ts": { "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, "./b.ts": { "original": { @@ -280,7 +187,8 @@ exports.d = b_1.b; } }, "options": { - "declaration": true + "declaration": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -300,11 +208,11 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1335 + "size": 1294 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3762229137-export declare const a = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -344,10 +252,10 @@ exports.d = b_1.b; }, "../../project1/src/a.d.ts": { "original": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "version": "-3762229137-export declare const a = 10;\r\n", "signature": false }, - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-3762229137-export declare const a = 10;\r\n" }, "./f.ts": { "original": { @@ -372,7 +280,8 @@ exports.d = b_1.b; } }, "options": { - "declaration": true + "declaration": true, + "emitDeclarationOnly": true }, "referencedMap": { "./f.ts": [ @@ -393,7 +302,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1279 + "size": 1273 } @@ -404,33 +313,63 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:36 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:37 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: -Change:: js emit with change without emitDeclarationOnly +Change:: local change Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10; +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:41 AM] Projects in this build: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:39 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:42 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' -[12:00:43 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:49 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:00:50 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -442,7 +381,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -452,13 +391,13 @@ Program files:: /src/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/src/project1/src/b.ts +/src/project1/src/a.ts Shape signatures in builder refreshed for:: -/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/a.ts (computed .d.ts) Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -473,18 +412,9 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/b.d.ts] file written with same contents -//// [/src/project1/src/b.js] -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; - - +//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -516,18 +446,18 @@ var alocal = 10; }, "./a.ts": { "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, "./b.ts": { "original": { - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-1807916688-export declare const b = 10;\r\n" }, - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-1807916688-export declare const b = 10;\r\n" }, "./c.ts": { @@ -548,7 +478,8 @@ var alocal = 10; } }, "options": { - "declaration": true + "declaration": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -568,41 +499,765 @@ var alocal = 10; ] }, "version": "FakeTSVersion", - "size": 1353 + "size": 1308 } -Change:: local change +Change:: non local change Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:49 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - +[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' +[12:00:51 AM] Building project '/src/project1/src/tsconfig.json'... -Change:: non local change -Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/a.ts +/src/project1/src/c.ts +Shape signatures in builder refreshed for:: +/src/project1/src/a.ts (computed .d.ts) +/src/project1/src/c.ts (computed .d.ts) -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1362 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:59 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:03 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:04 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:01:05 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:06 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:08 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:09 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:10 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:22 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:23 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1353 +} + + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:25 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:26 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:27 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:36 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1396 +} + + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:38 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:40 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:47 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"incremental":true,"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/d.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "signature": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "signature": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1456 +} + Change:: js emit with change without emitDeclarationOnly @@ -614,17 +1269,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:54 AM] Projects in this build: +[12:01:49 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:50 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:00:56 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:51 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:04 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:02:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:05 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:04 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -669,6 +1324,8 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] file written with same contents //// [/src/project1/src/b.d.ts] export declare const b = 10; export declare const aaaaa = 10; @@ -687,6 +1344,8 @@ exports.aaaaa = 10; exports.a2 = 10; +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] file written with same contents //// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js index d035daa946c1c..a00d44c035af9 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-with-outFile.js @@ -45,11 +45,71 @@ import { b } from "b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.d.ts' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:23 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:24 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + Change:: no-change-run @@ -58,9 +118,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:25 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:26 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.d.ts' + +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -74,46 +163,79 @@ export const a = 10;const aLocal = 10;const aa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:30 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - +[12:00:31 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.d.ts' is older than input 'src/project1/src/a.ts' +[12:00:32 AM] Building project '/src/project1/src/tsconfig.json'... -Change:: non local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; +[12:00:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:35 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +No cached semantic diagnostics in the builder:: -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +No shapes updated in the builder:: +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents -Change:: emit js files +Change:: non local change Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:37 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.js' does not exist +[12:00:38 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.d.ts' is older than input 'src/project1/src/a.ts' -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:39 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:26 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist +[12:00:41 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist -[12:00:27 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:42 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -125,7 +247,7 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -139,7 +261,7 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -169,6 +291,65 @@ declare module "d" { } + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:00:43 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:44 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.js' does not exist + +[12:00:45 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:48 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist + +[12:00:49 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -208,9 +389,38 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:50 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:51 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.d.ts' + +[12:00:52 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:00:53 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -224,17 +434,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:29 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:30 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' -[12:00:31 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:57 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist +[12:01:00 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist -[12:00:35 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:01 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -318,11 +528,57 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:03 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:04 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.d.ts' is older than input 'src/project1/src/b.ts' + +[12:01:05 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:07 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:01:08 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents Change:: non local change @@ -334,11 +590,73 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:10 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:11 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.d.ts' is older than input 'src/project1/src/b.ts' + +[12:01:12 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:14 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.d.ts' does not exist + +[12:01:15 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true,"outFile":"../outFile.js","module":"amd"},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + Change:: js emit with change without emitDeclarationOnly @@ -350,17 +668,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:39 AM] Projects in this build: +[12:01:17 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' +[12:01:18 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.js' is older than input 'src/project1/src/b.ts' -[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:19 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist +[12:01:22 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.js' does not exist -[12:00:45 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:23 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:96 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js index 751d0c1ca4bdf..3ddc9a0a515e8 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration.js @@ -45,11 +45,83 @@ import { b } from "../../project1/src/b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:19 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.d.ts' does not exist + +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:26 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:27 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/src/a.d.ts] +export declare const a = 10; + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; + + +//// [/src/project1/src/c.d.ts] +export declare const c = 10; + + +//// [/src/project1/src/d.d.ts] +export declare const d = 10; + + Change:: no-change-run @@ -58,9 +130,39 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:28 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:29 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/a.d.ts' + +[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -74,11 +176,71 @@ export const a = 10;const aLocal = 10;const aa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:33 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.d.ts' is older than input 'src/project1/src/a.ts' + +[12:00:35 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:40 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:41 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents Change:: non local change @@ -90,11 +252,75 @@ export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:43 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:44 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.d.ts' is older than input 'src/project1/src/a.ts' + +[12:00:45 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents Change:: emit js files @@ -103,17 +329,17 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.js' does not exist +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/a.js' does not exist -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:54 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:32 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist +[12:01:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist -[12:00:33 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:04 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -164,11 +390,7 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] -export declare const a = 10; -export declare const aaa = 10; - - +//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/a.js] "use strict"; exports.__esModule = true; @@ -179,10 +401,7 @@ var aa = 10; exports.aaa = 10; -//// [/src/project1/src/b.d.ts] -export declare const b = 10; - - +//// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/b.js] "use strict"; exports.__esModule = true; @@ -191,10 +410,7 @@ exports.b = 10; var bLocal = 10; -//// [/src/project1/src/c.d.ts] -export declare const c = 10; - - +//// [/src/project1/src/c.d.ts] file written with same contents //// [/src/project1/src/c.js] "use strict"; exports.__esModule = true; @@ -203,10 +419,7 @@ var a_1 = require("./a"); exports.c = a_1.a; -//// [/src/project1/src/d.d.ts] -export declare const d = 10; - - +//// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] "use strict"; exports.__esModule = true; @@ -223,9 +436,39 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:05 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:06 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/a.d.ts' + +[12:01:07 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:01:08 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: @@ -239,17 +482,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:35 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:36 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' +[12:01:11 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' -[12:00:37 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:12 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist +[12:01:21 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist -[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:22 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -327,11 +570,71 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:24 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:25 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.d.ts' is older than input 'src/project1/src/b.ts' + +[12:01:26 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:01:32 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents Change:: non local change @@ -343,11 +646,75 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:01:35 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.d.ts' is older than input 'src/project1/src/b.ts' + +[12:01:36 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:41 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.d.ts' does not exist + +[12:01:42 AM] Building project '/src/project2/src/tsconfig.json'... + +src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. + +1 {"compilerOptions":{"declaration":true},"references":[{"path":"../../project1/src"}]} +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/lib/lib.d.ts (used version) +/src/project1/src/a.ts (computed .d.ts during emit) +/src/project1/src/b.ts (computed .d.ts during emit) +/src/project1/src/c.ts (computed .d.ts during emit) +/src/project1/src/d.ts (computed .d.ts during emit) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/d.d.ts] file written with same contents Change:: js emit with change without emitDeclarationOnly @@ -359,17 +726,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:51 AM] Projects in this build: +[12:01:44 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' +[12:01:45 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/a.js' is older than input 'src/project1/src/b.ts' -[12:00:53 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:46 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:02 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist +[12:01:55 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/e.js' does not exist -[12:01:03 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:56 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:55 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js index 7e2c7d6451e1e..0a44984de2316 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -1,7 +1,526 @@ +3:: emit js files +*** Needs explanation +File: /src/project1/outfile.js +CleanBuild: +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project1/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +File: /src/project2/outfile.js +CleanBuild: +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== 4:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only *** Supplied discrepancy explanation but didnt file any difference +5:: js emit with change without emitDeclarationOnly +*** Needs explanation +File: /src/project2/outfile.js +CleanBuild: +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +IncrementalBuild: + +TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/project2/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== 6:: local change Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js index ab3b19d059b69..4f1cf38f03b6b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -45,79 +45,21 @@ import { b } from "b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: non local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: emit js files -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/outFile.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:27 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:31 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:28 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -131,7 +73,7 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -148,7 +90,6 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] declare module "a" { export const a = 10; - export const aaa = 10; } declare module "b" { export const b = 10; @@ -161,82 +102,16 @@ declare module "d" { } -//// [/src/project1/outFile.js] -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - - //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== -File:: /src/project1/outFile.js ----------------------------------------------------------------------- -text: (0-801) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== File:: /src/project1/outFile.d.ts ---------------------------------------------------------------------- -text: (0-232) +text: (0-204) declare module "a" { export const a = 10; - export const aaa = 10; } declare module "b" { export const b = 10; @@ -260,25 +135,15 @@ declare module "d" { "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 801, - "kind": "text" - } - ], - "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { "pos": 0, - "end": 232, + "end": 204, "kind": "text" } ], - "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, "program": { @@ -289,7 +154,7 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -298,11 +163,11 @@ declare module "d" { "composite": true, "outFile": "./outFile.js" }, - "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2194 + "size": 1132 } //// [/src/project2/outFile.d.ts] @@ -317,56 +182,11 @@ declare module "g" { } -//// [/src/project2/outFile.js] -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - - //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== -File:: /src/project2/outFile.js ----------------------------------------------------------------------- -text: (0-533) -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -====================================================================== -====================================================================== File:: /src/project2/outFile.d.ts ---------------------------------------------------------------------- text: (0-153) @@ -391,16 +211,6 @@ declare module "g" { "./src/f.ts", "./src/g.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -431,7 +241,7 @@ declare module "g" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1589 + "size": 916 } @@ -442,37 +252,43 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:34 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:35 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:00:36 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.Success -Change:: js emit with change without emitDeclarationOnly +Change:: local change Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10; +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:39 AM] Projects in this build: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:38 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:40 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:00:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' -[12:00:41 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:40 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:47 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:45 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:48 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:00:46 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -486,62 +302,291 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/outFile.js] -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; - var alocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - - //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} -//// [/src/project1/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/project1/outFile.js ----------------------------------------------------------------------- -text: (0-823) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; - var alocal = 10; +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1146 +} + +//// [/src/project2/outFile.tsbuildinfo] file changed its modified time + + +Change:: non local change +Input:: +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:50 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:00:51 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/a.ts' + +[12:00:52 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:58 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' + +[12:00:59 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1225 +} + +//// [/src/project2/outFile.tsbuildinfo] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:04 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:07 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' + +[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:11 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:19 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:20 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; }); define("c", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; @@ -556,7 +601,165 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = b_1.b; }); + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-823) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; + var alocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 823, + "kind": "text" + } + ], + "hash": "9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2235 +} + +//// [/src/project2/outFile.tsbuildinfo] file changed its modified time + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:24 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:25 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:26 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:32 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/project1/outFile.d.ts ---------------------------------------------------------------------- @@ -587,16 +790,6 @@ declare module "d" { "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 823, - "kind": "text" - } - ], - "hash": "9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -617,7 +810,7 @@ declare module "d" { ], "fileInfos": { "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, @@ -629,42 +822,153 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2235 + "size": 1259 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time -Change:: local change +Change:: non local change Input:: //// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:01:36 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - +[12:01:37 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:38 AM] Building project '/src/project1/src/tsconfig.json'... -Change:: non local change -Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; +[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' + +[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +No cached semantic diagnostics in the builder:: -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-262) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; + export const aaaaa = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 262, + "kind": "text" + } + ], + "hash": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1347 +} + +//// [/src/project2/outFile.tsbuildinfo] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents Change:: js emit with change without emitDeclarationOnly @@ -676,17 +980,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:54 AM] Projects in this build: +[12:01:51 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:52 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:00:56 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:53 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' +[12:02:00 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' -[12:01:04 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:01 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -890,7 +1194,120 @@ declare module "d" { "size": 2520 } -//// [/src/project2/outFile.js] file written with same contents -//// [/src/project2/outFile.tsbuildinfo] file written with same contents -//// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/project2/outFile.js] +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + + +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1589 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js index 71649b50cbc9c..6c4ca78bba618 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js @@ -45,79 +45,21 @@ import { b } from "../../project1/src/b"; export const g = b; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: non local change -Input:: -//// [/src/project1/src/a.ts] -export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: emit js files -Input:: - - -Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:21 AM] Projects in this build: +[12:00:19 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:22 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist +[12:00:20 AM] Project 'src/project1/src/tsconfig.json' is out of date because output file 'src/project1/src/tsconfig.tsbuildinfo' does not exist -[12:00:23 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:21 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist +[12:00:29 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/src/tsconfig.tsbuildinfo' does not exist -[12:00:36 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:30 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -141,7 +83,7 @@ Shape signatures in builder refreshed for:: /src/project1/src/d.ts (computed .d.ts during emit) Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -170,57 +112,22 @@ Shape signatures in builder refreshed for:: //// [/src/project1/src/a.d.ts] export declare const a = 10; -export declare const aaa = 10; - - -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; //// [/src/project1/src/b.d.ts] export declare const b = 10; -//// [/src/project1/src/b.js] -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - - //// [/src/project1/src/c.d.ts] export declare const c = 10; -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - //// [/src/project1/src/d.d.ts] export declare const d = 10; -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -252,11 +159,11 @@ exports.d = b_1.b; }, "./a.ts": { "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, "./b.ts": { "original": { @@ -284,7 +191,8 @@ exports.d = b_1.b; } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -305,46 +213,23 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1367 + "size": 1326 } //// [/src/project2/src/e.d.ts] export declare const e = 10; -//// [/src/project2/src/e.js] -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - - //// [/src/project2/src/f.d.ts] export declare const f = 10; -//// [/src/project2/src/f.js] -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - - //// [/src/project2/src/g.d.ts] export declare const g = 10; -//// [/src/project2/src/g.js] -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - - //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-3762229137-export declare const a = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -384,8 +269,8 @@ exports.g = b_1.b; "signature": "-4534913933-export declare const e = 10;\r\n" }, "../../project1/src/a.d.ts": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-3762229137-export declare const a = 10;\r\n", + "signature": "-3762229137-export declare const a = 10;\r\n" }, "./f.ts": { "original": { @@ -409,7 +294,8 @@ exports.g = b_1.b; } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./f.ts": [ @@ -431,7 +317,7 @@ exports.g = b_1.b; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1369 + "size": 1363 } @@ -442,37 +328,43 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. +[12:00:37 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +[12:00:38 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/d.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:00:39 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success -Change:: js emit with change without emitDeclarationOnly +Change:: local change Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10; +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10; Output:: -/lib/tsc --b /src/project2/src --verbose -[12:00:47 AM] Projects in this build: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:00:41 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:00:42 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' -[12:00:49 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:43 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:47 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:55 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:00:48 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -482,23 +374,14 @@ Program files:: /src/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/src/project1/src/b.ts +/src/project1/src/a.ts Shape signatures in builder refreshed for:: -/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/a.ts (computed .d.ts) -//// [/src/project1/src/b.js] -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; - - //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -530,18 +413,18 @@ var alocal = 10; }, "./a.ts": { "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" }, "./b.ts": { "original": { - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-1807916688-export declare const b = 10;\r\n" }, - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-1807916688-export declare const b = 10;\r\n" }, "./c.ts": { @@ -562,7 +445,8 @@ var alocal = 10; } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -583,68 +467,36 @@ var alocal = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1340 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time -Change:: local change -Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - Change:: non local change Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; +//// [/src/project1/src/a.ts] +export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -error TS5094: Compiler option '--emitDeclarationOnly' may not be used with '--build'. - -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped - - - - -Change:: js emit with change without emitDeclarationOnly -Input:: -//// [/src/project1/src/b.ts] -export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; - - - -Output:: -/lib/tsc --b /src/project2/src --verbose -[12:01:01 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/a.ts' -[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... +[12:00:54 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:10 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' +[12:00:59 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' -[12:01:11 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:00 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] -Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -654,15 +506,15 @@ Program files:: /src/project1/src/d.ts Semantic diagnostics in builder refreshed for:: -/src/project1/src/b.ts -/src/project1/src/d.ts +/src/project1/src/a.ts +/src/project1/src/c.ts Shape signatures in builder refreshed for:: -/src/project1/src/b.ts (computed .d.ts) -/src/project1/src/d.ts (computed .d.ts) +/src/project1/src/a.ts (computed .d.ts) +/src/project1/src/c.ts (computed .d.ts) Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not Program files:: /lib/lib.d.ts @@ -673,35 +525,21 @@ Program files:: /src/project2/src/g.ts Semantic diagnostics in builder refreshed for:: -/src/project1/src/b.d.ts -/src/project2/src/g.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts Shape signatures in builder refreshed for:: -/src/project1/src/b.d.ts (used version) -/src/project2/src/g.ts (computed .d.ts) +/src/project1/src/a.d.ts (used version) +/src/project2/src/f.ts (computed .d.ts) -//// [/src/project1/src/b.d.ts] -export declare const b = 10; -export declare const aaaaa = 10; -export declare const a2 = 10; - - -//// [/src/project1/src/b.js] -"use strict"; -exports.__esModule = true; -exports.a2 = exports.aaaaa = exports.b = void 0; -exports.b = 10; -var bLocal = 10; -var alocal = 10; -var aaaa = 10; -exports.aaaaa = 10; -exports.a2 = 10; +//// [/src/project1/src/a.d.ts] +export declare const a = 10; +export declare const aaa = 10; -//// [/src/project1/src/d.js] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -741,11 +579,11 @@ exports.a2 = 10; }, "./b.ts": { "original": { - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" }, - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" }, "./c.ts": { "original": { @@ -765,7 +603,8 @@ exports.a2 = 10; } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -783,13 +622,884 @@ exports.a2 = 10; "./c.ts", "./d.ts" ], - "latestChangedDtsFile": "./b.d.ts" + "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1516 + "size": 1394 } -//// [/src/project2/src/g.js] file written with same contents +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1396 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:04 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:07 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' + +[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:11 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:21 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:22 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./a.d.ts" + }, + "version": "FakeTSVersion", + "size": 1385 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:26 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:27 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:28 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:32 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies + +[12:01:33 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./a.d.ts" + }, + "version": "FakeTSVersion", + "size": 1428 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time + + +Change:: non local change +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly +[12:01:37 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:38 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:39 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' + +[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/d.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"emitDeclarationOnly":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.d.ts (used version) +/src/project2/src/g.ts (computed .d.ts) + + +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "signature": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "signature": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1488 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n", + "signature": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1432 +} + + + +Change:: js emit with change without emitDeclarationOnly +Input:: +//// [/src/project1/src/b.ts] +export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10; + + + +Output:: +/lib/tsc --b /src/project2/src --verbose +[12:01:50 AM] Projects in this build: + * src/project1/src/tsconfig.json + * src/project2/src/tsconfig.json + +[12:01:51 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' + +[12:01:52 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:02:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' + +[12:02:02 AM] Building project '/src/project2/src/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.ts +/src/project1/src/d.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.ts (computed .d.ts) +/src/project1/src/d.ts (computed .d.ts) + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Shape signatures in builder refreshed for:: +/src/project1/src/b.d.ts (used version) +/src/project2/src/g.ts (computed .d.ts) + + +//// [/src/project1/src/a.js] file written with same contents +//// [/src/project1/src/b.d.ts] +export declare const b = 10; +export declare const aaaaa = 10; +export declare const a2 = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.a2 = exports.aaaaa = exports.b = void 0; +exports.b = 10; +var bLocal = 10; +var alocal = 10; +var aaaa = 10; +exports.aaaaa = 10; +exports.a2 = 10; + + +//// [/src/project1/src/c.js] file written with same contents +//// [/src/project1/src/d.js] file written with same contents +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "signature": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 1516 +} + +//// [/src/project2/src/e.js] +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + + +//// [/src/project2/src/f.js] +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + + +//// [/src/project2/src/g.js] +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + + //// [/src/project2/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js index 45881e56abdd9..c4b8eb6881b4e 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/does-not-add-color-when-NO_COLOR-is-set.js @@ -78,6 +78,26 @@ Enable color and formatting in TypeScript's output to make compiler errors easie type: boolean default: true +--declaration, -d +Generate .d.ts files from TypeScript and JavaScript files in your project. +type: boolean +default: `false`, unless `composite` is set + +--declarationMap +Create sourcemaps for d.ts files. +type: boolean +default: false + +--emitDeclarationOnly +Only output d.ts files and not JavaScript files. +type: boolean +default: false + +--sourceMap +Create source map files for emitted JavaScript files. +type: boolean +default: false + --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es3, es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, esnext @@ -108,26 +128,6 @@ Specify what JSX code is generated. one of: preserve, react, react-native, react-jsx, react-jsxdev default: undefined ---declaration, -d -Generate .d.ts files from TypeScript and JavaScript files in your project. -type: boolean -default: `false`, unless `composite` is set - ---declarationMap -Create sourcemaps for d.ts files. -type: boolean -default: false - ---emitDeclarationOnly -Only output d.ts files and not JavaScript files. -type: boolean -default: false - ---sourceMap -Create source map files for emitted JavaScript files. -type: boolean -default: false - --outFile Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js index db9a561123600..a11632569ef7a 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped-when-host-can't-provide-terminal-width.js @@ -78,6 +78,26 @@ Enable color and formatting in TypeScript's output to make compiler errors easie type: boolean default: true +--declaration, -d +Generate .d.ts files from TypeScript and JavaScript files in your project. +type: boolean +default: `false`, unless `composite` is set + +--declarationMap +Create sourcemaps for d.ts files. +type: boolean +default: false + +--emitDeclarationOnly +Only output d.ts files and not JavaScript files. +type: boolean +default: false + +--sourceMap +Create source map files for emitted JavaScript files. +type: boolean +default: false + --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es3, es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, esnext @@ -108,26 +128,6 @@ Specify what JSX code is generated. one of: preserve, react, react-native, react-jsx, react-jsxdev default: undefined ---declaration, -d -Generate .d.ts files from TypeScript and JavaScript files in your project. -type: boolean -default: `false`, unless `composite` is set - ---declarationMap -Create sourcemaps for d.ts files. -type: boolean -default: false - ---emitDeclarationOnly -Only output d.ts files and not JavaScript files. -type: boolean -default: false - ---sourceMap -Create source map files for emitted JavaScript files. -type: boolean -default: false - --outFile Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. diff --git a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js index db9a561123600..a11632569ef7a 100644 --- a/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js +++ b/tests/baselines/reference/tsc/runWithoutArgs/show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js @@ -78,6 +78,26 @@ Enable color and formatting in TypeScript's output to make compiler errors easie type: boolean default: true +--declaration, -d +Generate .d.ts files from TypeScript and JavaScript files in your project. +type: boolean +default: `false`, unless `composite` is set + +--declarationMap +Create sourcemaps for d.ts files. +type: boolean +default: false + +--emitDeclarationOnly +Only output d.ts files and not JavaScript files. +type: boolean +default: false + +--sourceMap +Create source map files for emitted JavaScript files. +type: boolean +default: false + --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es3, es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, esnext @@ -108,26 +128,6 @@ Specify what JSX code is generated. one of: preserve, react, react-native, react-jsx, react-jsxdev default: undefined ---declaration, -d -Generate .d.ts files from TypeScript and JavaScript files in your project. -type: boolean -default: `false`, unless `composite` is set - ---declarationMap -Create sourcemaps for d.ts files. -type: boolean -default: false - ---emitDeclarationOnly -Only output d.ts files and not JavaScript files. -type: boolean -default: false - ---sourceMap -Create source map files for emitted JavaScript files. -type: boolean -default: false - --outFile Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. From 98f0e8dc6aefc3cd9c8e9b4b19f1c3e0259623ca Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 21 Oct 2022 16:01:28 -0700 Subject: [PATCH 04/11] Store these options in --out scenario --- src/compiler/commandLineParser.ts | 5 + .../modules-and-globals-mixed-in-amd.js | 32 ++- .../multiple-emitHelpers-in-all-projects.js | 48 ++-- .../multiple-prologues-in-all-projects.js | 48 ++-- .../shebang-in-all-projects.js | 32 ++- .../amdModulesWithOut/stripInternal.js | 48 ++-- .../triple-slash-refs-in-all-projects.js | 32 ++- ...e-resolution-finds-original-source-file.js | 16 +- ...rent-options-with-outFile-discrepancies.js | 204 +++++++++++++++- ...-commandline-with-outFile-discrepancies.js | 10 + ...nOnly-false-on-commandline-with-outFile.js | 20 +- ...-commandline-with-outFile-discrepancies.js | 3 + ...arationOnly-on-commandline-with-outFile.js | 30 ++- ...rojects-and-concatenates-them-correctly.js | 25 +- .../outFile/builds-till-project-specified.js | 9 +- .../tsbuild/outFile/clean-projects.js | 26 +- .../outFile/cleans-till-project-specified.js | 26 +- ...al-flag-changes-between-non-dts-changes.js | 33 ++- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 52 ++-- ...erated-when-incremental-is-set-to-false.js | 17 +- ...-buildInfo-absence-results-in-new-build.js | 26 +- ...ot-change-but-its-modified-time-changes.js | 26 +- .../baseline-sectioned-sourcemaps.js | 60 +++-- .../declarationMap-and-sourceMap-disabled.js | 17 +- .../emitHelpers-in-all-projects.js | 77 +++--- ...tHelpers-in-only-one-dependency-project.js | 60 +++-- .../tsbuild/outfile-concat/explainFiles.js | 60 +++-- .../multiple-emitHelpers-in-all-projects.js | 60 +++-- ...tiple-emitHelpers-in-different-projects.js | 60 +++-- .../multiple-prologues-in-all-projects.js | 77 +++--- ...ultiple-prologues-in-different-projects.js | 60 +++-- .../outfile-concat/shebang-in-all-projects.js | 60 +++-- .../shebang-in-only-one-dependency-project.js | 43 ++-- .../outfile-concat/strict-in-all-projects.js | 77 +++--- .../strict-in-one-dependency.js | 60 +++-- ...hen-internal-is-inside-another-internal.js | 26 +- ...en-one-two-three-are-prepended-in-order.js | 78 +++--- .../stripInternal-jsdoc-style-comment.js | 60 +++-- ...en-one-two-three-are-prepended-in-order.js | 52 ++-- ...-jsdoc-style-with-comments-emit-enabled.js | 43 ++-- ...l-when-few-members-of-enum-are-internal.js | 26 +- ...en-one-two-three-are-prepended-in-order.js | 104 +++++--- ...nal-when-prepend-is-completely-internal.js | 18 +- ...en-one-two-three-are-prepended-in-order.js | 78 +++--- ...tripInternal-with-comments-emit-enabled.js | 60 +++-- .../tsbuild/outfile-concat/stripInternal.js | 77 +++--- .../triple-slash-refs-in-all-projects.js | 60 +++-- .../triple-slash-refs-in-one-project.js | 43 ++-- ...roject-is-not-composite-but-incremental.js | 17 +- ...t-composite-but-uses-project-references.js | 25 +- ...final-project-specifies-tsBuildInfoFile.js | 24 +- ...-source-files-are-empty-in-the-own-file.js | 43 ++-- ...ncing-project-even-for-non-local-change.js | 30 ++- .../different-options-with-outFile.js | 225 ++++++++++++++++-- ...hen-declarationMap-changes-with-outFile.js | 11 +- .../ancestor-and-project-ref-management.js | 10 +- ...ssfully-find-references-with-out-option.js | 10 +- ...oes-not-error-on-container-only-project.js | 10 +- 58 files changed, 1853 insertions(+), 816 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 28773f696f929..3176b630e93aa 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -306,6 +306,7 @@ namespace ts { type: "boolean", affectsEmit: true, affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -317,6 +318,7 @@ namespace ts { type: "boolean", affectsEmit: true, affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -328,6 +330,7 @@ namespace ts { type: "boolean", affectsEmit: true, affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, @@ -339,6 +342,7 @@ namespace ts { type: "boolean", affectsEmit: true, affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -349,6 +353,7 @@ namespace ts { type: "boolean", affectsEmit: true, affectsMultiFileEmitBuildInfo: true, + affectsBundleEmitBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, defaultValueDescription: false, 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 734f1f178e503..36997d35d4934 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 @@ -470,7 +470,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -597,13 +597,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3035 + "size": 3074 } //// [/src/lib/module.d.ts] @@ -874,7 +876,7 @@ sourceFile:global.ts >>>//# 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"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"} +{"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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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] ====================================================================== @@ -960,13 +962,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "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": 2235 + "size": 2274 } @@ -1222,7 +1226,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1350,13 +1354,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3108 + "size": 3147 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1527,7 +1533,7 @@ sourceFile:global.ts >>>//# 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"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"} +{"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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["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,"outFile":"./module.js","sourceMap":true},"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] ====================================================================== @@ -1614,12 +1620,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "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": 2322 + "size": 2361 } 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 d8ac4640505f1..196f715eb27ed 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 @@ -1118,7 +1118,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1338,13 +1338,15 @@ declare const appfile4_ar: number[]; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 7028 + "size": 7067 } //// [/src/lib/module.d.ts] @@ -1969,7 +1971,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -2135,13 +2137,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 5228 + "size": 5267 } @@ -2928,7 +2932,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3149,13 +3153,15 @@ declare const appfile4_ar: number[]; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 7100 + "size": 7139 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -3626,7 +3632,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -3793,13 +3799,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 5317 + "size": 5356 } @@ -4499,7 +4507,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4718,13 +4726,15 @@ declare const appfile4_ar: number[]; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 6880 + "size": 6919 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -5088,7 +5098,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -5233,12 +5243,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 4421 + "size": 4460 } 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 ae2684d5b694e..16ffd15f7267a 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 @@ -564,7 +564,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -757,13 +757,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3735 + "size": 3774 } //// [/src/lib/module.d.ts] @@ -1089,7 +1091,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-10726455937-export const x = 10;","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-10726455937-export const x = 10;","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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] ====================================================================== @@ -1246,13 +1248,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "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": 2937 + "size": 2976 } @@ -1592,7 +1596,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1786,13 +1790,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3806 + "size": 3845 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -2015,7 +2021,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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] ====================================================================== @@ -2173,13 +2179,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "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": 3023 + "size": 3062 } @@ -2712,7 +2720,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2907,13 +2915,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3842 + "size": 3881 } //// [/src/lib/module.d.ts.map] @@ -3271,7 +3281,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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] ====================================================================== @@ -3430,12 +3440,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "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": 3083 + "size": 3122 } 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 5da0b643019e2..5143ef0967d4d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -483,7 +483,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -610,13 +610,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3145 + "size": 3184 } //// [/src/lib/module.d.ts] @@ -895,7 +897,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","378638433-#!someshebang lib file1\nexport const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","378638433-#!someshebang lib file1\nexport const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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] ====================================================================== @@ -981,13 +983,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare 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": 2367 + "size": 2406 } @@ -1249,7 +1253,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1377,13 +1381,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3219 + "size": 3258 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1558,7 +1564,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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] ====================================================================== @@ -1645,12 +1651,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare 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": 2456 + "size": 2495 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index 3b3cab2256aa2..b893b2bd2c800 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -1979,7 +1979,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2199,13 +2199,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9206 + "size": 9245 } //// [/src/lib/module.d.ts] @@ -4587,7 +4589,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -4862,13 +4864,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13113 + "size": 13152 } @@ -6592,7 +6596,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -6813,13 +6817,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9278 + "size": 9317 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -8433,7 +8439,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -8709,13 +8715,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13199 + "size": 13238 } @@ -10646,7 +10654,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -10866,13 +10874,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9210 + "size": 9249 } //// [/src/lib/module.d.ts.map] @@ -13229,7 +13239,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -13520,12 +13530,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13309 + "size": 13348 } 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 da27bd36a7cdc..eb9d4ea8f78cf 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 @@ -606,7 +606,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -759,13 +759,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3998 + "size": 4037 } //// [/src/lib/module.d.ts] @@ -1099,7 +1101,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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] ====================================================================== @@ -1199,13 +1201,15 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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 + "size": 2812 } @@ -1537,7 +1541,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1691,13 +1695,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 4068 + "size": 4107 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1906,7 +1912,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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] ====================================================================== @@ -2007,12 +2013,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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": 2858 + "size": 2897 } 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 65711b9b70801..44190188fe990 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 @@ -471,7 +471,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -598,13 +598,15 @@ declare const myVar = 30; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3054 + "size": 3093 } //// [/src/module.d.ts] @@ -876,7 +878,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -962,12 +964,14 @@ declare const globalConst = 10; }, "options": { "composite": true, - "outFile": "./module.js" + "declarationMap": true, + "outFile": "./module.js", + "sourceMap": true }, "outSignature": "29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 2323 + "size": 2362 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 729f4e34158f0..12b9be4b19430 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -104,7 +104,8 @@ CleanBuild: }, "options": { "composite": true, - "outFile": "./outFile.js" + "outFile": "./outFile.js", + "sourceMap": true }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "FakeFileName" @@ -161,7 +162,102 @@ IncrementalBuild: 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 4:: with declaration and declarationMap *** Needs explanation File: /src/outfile.d.ts.map @@ -240,6 +336,8 @@ CleanBuild: }, "options": { "composite": true, + "declaration": true, + "declarationMap": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -330,6 +428,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -458,7 +557,102 @@ declare module "d" { 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 10:: with inlineSourceMap *** Needs explanation File: /src/outfile.js @@ -559,6 +753,7 @@ CleanBuild: }, "options": { "composite": true, + "inlineSourceMap": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -719,7 +914,8 @@ CleanBuild: }, "options": { "composite": true, - "outFile": "./outFile.js" + "outFile": "./outFile.js", + "sourceMap": true }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "FakeFileName" diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js index 0d7320fdfba2b..44419e2c4ee51 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -73,6 +73,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -110,6 +111,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -251,6 +253,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -286,6 +289,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -429,6 +433,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -466,6 +471,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -607,6 +613,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -642,6 +649,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -770,6 +778,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -805,6 +814,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js index a204f8496695d..0afb63bc1e239 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -103,7 +103,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -161,13 +161,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1132 + "size": 1159 } //// [/src/project2/outFile.d.ts] @@ -183,7 +184,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -235,13 +236,14 @@ declare module "g" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 916 + "size": 943 } @@ -303,7 +305,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -342,13 +344,14 @@ No shapes updated in the builder:: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1146 + "size": 1173 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -480,7 +483,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -582,13 +585,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2117 + "size": 2145 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js index 0a44984de2316..608be0271ee5c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -111,6 +111,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -290,6 +291,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -457,6 +459,7 @@ IncrementalBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js index 4f1cf38f03b6b..e8a2adbc4bbac 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -103,7 +103,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -161,13 +161,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1132 + "size": 1159 } //// [/src/project2/outFile.d.ts] @@ -183,7 +184,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -235,13 +236,14 @@ declare module "g" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 916 + "size": 943 } @@ -303,7 +305,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -342,13 +344,14 @@ No shapes updated in the builder:: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1146 + "size": 1173 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -422,7 +425,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -481,13 +484,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1225 + "size": 1252 } //// [/src/project2/outFile.tsbuildinfo] file written with same contents @@ -757,7 +761,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -816,13 +820,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1259 + "size": 1286 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -897,7 +902,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -957,13 +962,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1347 + "size": 1374 } //// [/src/project2/outFile.tsbuildinfo] file written with same contents 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 eb606bd21c58b..7fcb002dbb525 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 @@ -134,7 +134,7 @@ type Nominal = T & { //// [/src/common/common.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"fileNames":["./nominal.js"],"fileInfos":["-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n"],"options":{"composite":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","latestChangedDtsFile":"./common.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"fileNames":["./nominal.js"],"fileInfos":["-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n"],"options":{"composite":true,"declaration":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","latestChangedDtsFile":"./common.d.ts"},"version":"FakeTSVersion"} //// [/src/common/common.tsbuildinfo.baseline.txt] ====================================================================== @@ -194,13 +194,14 @@ type Nominal = T & { }, "options": { "composite": true, + "declaration": true, "outFile": "./common.js" }, "outSignature": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n", "latestChangedDtsFile": "./common.d.ts" }, "version": "FakeTSVersion", - "size": 754 + "size": 773 } //// [/src/sub-project/sub-project.d.ts] @@ -226,7 +227,7 @@ var c = /** @type {*} */ (null); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n"],"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -331,13 +332,14 @@ type MyNominal = Nominal; }, "options": { "composite": true, + "declaration": true, "outFile": "./sub-project.js" }, "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "latestChangedDtsFile": "./sub-project.d.ts" }, "version": "FakeTSVersion", - "size": 1395 + "size": 1414 } //// [/src/sub-project-2/sub-project-2.d.ts] @@ -379,7 +381,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -500,13 +502,14 @@ declare namespace variable { }, "options": { "composite": true, + "declaration": true, "outFile": "./sub-project-2.js" }, "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", "latestChangedDtsFile": "./sub-project-2.d.ts" }, "version": "FakeTSVersion", - "size": 2000 + "size": 2019 } @@ -539,7 +542,7 @@ var c = /** @type {*} */ (undefined); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n"],"options":{"composite":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -644,13 +647,14 @@ type MyNominal = Nominal; }, "options": { "composite": true, + "declaration": true, "outFile": "./sub-project.js" }, "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "latestChangedDtsFile": "./sub-project.d.ts" }, "version": "FakeTSVersion", - "size": 1404 + "size": 1423 } //// [/src/sub-project-2/sub-project-2.js] @@ -674,7 +678,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -795,12 +799,13 @@ declare namespace variable { }, "options": { "composite": true, + "declaration": true, "outFile": "./sub-project-2.js" }, "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", "latestChangedDtsFile": "./sub-project-2.d.ts" }, "version": "FakeTSVersion", - "size": 2005 + "size": 2024 } 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 0131f761dc74a..5329dc7ee0acb 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -249,12 +249,15 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 4d8b3c07599c8..60ea0f6348f4c 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -129,13 +129,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -165,7 +168,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -240,13 +243,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/first/first_PART1.ts] @@ -386,7 +391,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -552,13 +557,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } //// [/src/third/third_part1.ts] 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 eab89bb89d5cc..175b588758742 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -129,13 +129,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -165,7 +168,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -240,13 +243,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/first/first_PART1.ts] @@ -386,7 +391,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -552,13 +557,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } //// [/src/third/third_part1.ts] 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 96b04817da617..5cf28f9b2ee86 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -266,13 +266,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -302,7 +305,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -377,13 +380,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -654,7 +659,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -730,13 +735,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -831,7 +838,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -908,13 +915,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2234 + "size": 2273 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents 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 06aa3d9716cc3..b34ce96d34579 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 @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -129,13 +129,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -165,7 +168,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -240,13 +243,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/first/first_PART1.ts] @@ -386,7 +391,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -552,13 +557,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } //// [/src/third/third_part1.ts] @@ -618,7 +626,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] @@ -663,13 +671,16 @@ exitCode:: ExitStatus.Success }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 2192 + "size": 2250 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -677,7 +688,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -725,13 +736,15 @@ exitCode:: ExitStatus.Success }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 2093 + "size": 2132 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -739,7 +752,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] @@ -833,12 +846,15 @@ exitCode:: ExitStatus.Success }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 3612 + "size": 3670 } 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 4ba9212ceaef8..a213cd4f1c501 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -266,13 +266,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -302,7 +305,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -377,13 +380,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] 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 3e22c13a54a84..c17bbc546a79d 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 @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -129,13 +129,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -237,13 +240,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/first/first_PART1.ts] @@ -383,7 +388,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -549,13 +554,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } //// [/src/third/third_part1.ts] @@ -613,7 +621,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents 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 eb83355373a7b..a1c77fc657511 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -266,13 +266,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -302,7 +305,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -377,13 +380,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -438,7 +443,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -604,13 +609,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } 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 a502619cfbffa..5353fb41150d4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -557,7 +557,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -637,13 +637,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -947,7 +950,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1022,13 +1025,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1767,7 +1772,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1933,13 +1938,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } @@ -2302,7 +2310,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2377,13 +2385,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2082 + "size": 2121 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3122,7 +3132,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3288,13 +3298,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3601 + "size": 3659 } @@ -3547,7 +3560,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3623,13 +3636,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2153 + "size": 2192 } //// [/src/third/thirdjs/output/third-output.js] @@ -4133,7 +4148,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4300,12 +4315,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3660 + "size": 3718 } 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 40c3cd62d3a9d..0bcf868e7106c 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 @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -615,13 +615,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -925,7 +928,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1000,13 +1003,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] 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 b1a934e296bd0..c155398986858 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 @@ -707,7 +707,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -815,13 +815,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 3349 + "size": 3407 } //// [/src/first/bin/first-output.d.ts] @@ -1271,7 +1274,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1374,13 +1377,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3233 + "size": 3272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2510,7 +2515,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2712,13 +2717,16 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5591 + "size": 5649 } @@ -3229,7 +3237,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3332,13 +3340,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3226 + "size": 3265 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -4468,7 +4478,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4670,13 +4680,16 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5585 + "size": 5643 } @@ -5056,7 +5069,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5160,13 +5173,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3300 + "size": 3339 } //// [/src/third/thirdjs/output/third-output.js] @@ -6003,7 +6018,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6206,13 +6221,16 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5646 + "size": 5704 } @@ -6631,7 +6649,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6709,13 +6727,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2391 + "size": 2430 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -7764,7 +7784,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7965,12 +7985,15 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5434 + "size": 5492 } 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 dd9b783b54021..ff033acb16432 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 @@ -683,7 +683,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -791,13 +791,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 3349 + "size": 3407 } //// [/src/first/bin/first-output.d.ts] @@ -1138,7 +1141,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1215,13 +1218,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2323 + "size": 2362 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2141,7 +2146,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2332,13 +2337,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4833 + "size": 4891 } @@ -2587,7 +2595,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2665,13 +2673,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2396 + "size": 2435 } //// [/src/third/thirdjs/output/third-output.js] @@ -3319,7 +3329,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3511,13 +3521,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4892 + "size": 4950 } @@ -4025,7 +4038,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4129,13 +4142,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3308 + "size": 3347 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5149,7 +5164,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5343,12 +5358,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5107 + "size": 5165 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 0107882aa6578..41ec3cfef432f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -639,13 +639,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -949,7 +952,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1024,13 +1027,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1769,7 +1774,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1935,13 +1940,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3605 + "size": 3663 } @@ -2301,7 +2309,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2376,13 +2384,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2082 + "size": 2121 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3121,7 +3131,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3287,13 +3297,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3601 + "size": 3659 } @@ -3532,7 +3545,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3608,13 +3621,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2153 + "size": 2192 } //// [/src/third/thirdjs/output/third-output.js] @@ -4118,7 +4133,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4285,12 +4300,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3660 + "size": 3718 } 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 f1bafcc4b1c5b..9e8c10dbcfe0a 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 @@ -929,7 +929,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1090,13 +1090,16 @@ declare const secondsecond_part2_ar: number[]; }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 5464 + "size": 5522 } //// [/src/first/bin/first-output.d.ts] @@ -1774,7 +1777,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1930,13 +1933,15 @@ declare const firstfirst_part3_ar: number[]; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5325 + "size": 5364 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3654,7 +3659,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3929,13 +3934,16 @@ declare const thirdthird_part1_ar: number[]; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9271 + "size": 9329 } @@ -4468,7 +4476,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4625,13 +4633,15 @@ declare const firstfirst_part3_ar: number[]; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5400 + "size": 5439 } //// [/src/third/thirdjs/output/third-output.js] @@ -5894,7 +5904,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6170,13 +6180,16 @@ declare const thirdthird_part1_ar: number[]; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9329 + "size": 9387 } @@ -6799,7 +6812,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6934,13 +6947,15 @@ declare const firstfirst_part3_ar: number[]; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 4506 + "size": 4545 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -8571,7 +8586,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8845,12 +8860,15 @@ declare const thirdthird_part1_ar: number[]; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9114 + "size": 9172 } 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 5a1fc1de0af92..02b3102c0a4c1 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 @@ -775,7 +775,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -912,13 +912,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 4329 + "size": 4387 } //// [/src/first/bin/first-output.d.ts] @@ -1368,7 +1371,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1471,13 +1474,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3233 + "size": 3272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2715,7 +2720,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2964,13 +2969,16 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7098 + "size": 7156 } @@ -3328,7 +3336,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3432,13 +3440,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3308 + "size": 3347 } //// [/src/third/thirdjs/output/third-output.js] @@ -4347,7 +4357,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4597,13 +4607,16 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7156 + "size": 7214 } @@ -5000,7 +5013,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5078,13 +5091,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2396 + "size": 2435 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6240,7 +6255,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6488,12 +6503,15 @@ declare function forthirdthird_part1Rest(): void; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 6941 + "size": 6999 } 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 0b7f66fbaca25..e6f1a16f33b10 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 @@ -601,7 +601,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -751,13 +751,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2827 + "size": 2885 } //// [/src/first/bin/first-output.d.ts] @@ -1078,7 +1081,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1199,13 +1202,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2489 + "size": 2528 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2007,7 +2012,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2246,13 +2251,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4310 + "size": 4368 } @@ -2633,7 +2641,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2754,13 +2762,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2485 + "size": 2524 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3562,7 +3572,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3801,13 +3811,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4308 + "size": 4366 } @@ -4077,7 +4090,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4199,13 +4212,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2561 + "size": 2600 } //// [/src/third/thirdjs/output/third-output.js] @@ -4767,7 +4782,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5007,13 +5022,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4366 + "size": 4424 } @@ -5430,7 +5448,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5570,13 +5588,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2760 + "size": 2799 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6403,7 +6423,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6652,12 +6672,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4463 + "size": 4521 } 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 cf0e15c829e93..beb3a87452834 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 @@ -576,7 +576,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -708,13 +708,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2677 + "size": 2735 } //// [/src/first/bin/first-output.d.ts] @@ -1020,7 +1023,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1123,13 +1126,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2299 + "size": 2338 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1908,7 +1913,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2120,13 +2125,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4002 + "size": 4060 } @@ -2359,7 +2367,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2463,13 +2471,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2372 + "size": 2411 } //// [/src/third/thirdjs/output/third-output.js] @@ -3011,7 +3021,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3224,13 +3234,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4062 + "size": 4120 } @@ -3610,7 +3623,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3732,13 +3745,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2570 + "size": 2609 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4545,7 +4560,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4767,12 +4782,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4157 + "size": 4215 } 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 e4606ae29bd4c..5d99d3ff7d2ce 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 @@ -567,7 +567,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -647,13 +647,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2338 + "size": 2396 } //// [/src/first/bin/first-output.d.ts] @@ -964,7 +967,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1039,13 +1042,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2259 + "size": 2298 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1795,7 +1800,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1961,13 +1966,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3747 + "size": 3805 } @@ -2338,7 +2346,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2413,13 +2421,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2251 + "size": 2290 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3169,7 +3179,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3335,13 +3345,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3745 + "size": 3803 } @@ -3599,7 +3612,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3675,13 +3688,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2325 + "size": 2364 } //// [/src/third/thirdjs/output/third-output.js] @@ -4191,7 +4206,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4358,12 +4373,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3803 + "size": 3861 } 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 1069024521e9e..3960617118f05 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 @@ -544,7 +544,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -624,13 +624,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2338 + "size": 2396 } //// [/src/first/bin/first-output.d.ts] @@ -934,7 +937,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1009,13 +1012,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1760,7 +1765,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1926,13 +1931,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3720 + "size": 3778 } @@ -2163,7 +2171,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2239,13 +2247,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.js] @@ -2752,7 +2762,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2919,12 +2929,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3776 + "size": 3834 } 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 cf4edf45918a0..dfb6e5d25433f 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 @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -667,13 +667,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2398 + "size": 2456 } //// [/src/first/bin/first-output.d.ts] @@ -979,7 +982,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1082,13 +1085,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2299 + "size": 2338 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1829,7 +1834,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2023,13 +2028,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3819 + "size": 3877 } @@ -2394,7 +2402,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2497,13 +2505,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2294 + "size": 2333 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3244,7 +3254,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3438,13 +3448,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3816 + "size": 3874 } @@ -3699,7 +3712,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3803,13 +3816,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2366 + "size": 2405 } //// [/src/third/thirdjs/output/third-output.js] @@ -4315,7 +4330,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4510,13 +4525,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3874 + "size": 3932 } @@ -4918,7 +4936,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5040,13 +5058,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2561 + "size": 2600 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5812,7 +5832,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6016,12 +6036,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3967 + "size": 4025 } 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 afb466437591c..71904e42fff13 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 @@ -539,7 +539,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -647,13 +647,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2398 + "size": 2456 } //// [/src/first/bin/first-output.d.ts] @@ -957,7 +960,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1032,13 +1035,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1779,7 +1784,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1954,13 +1959,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3684 + "size": 3742 } @@ -2191,7 +2199,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2267,13 +2275,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.js] @@ -2779,7 +2789,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2955,13 +2965,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3744 + "size": 3802 } @@ -3339,7 +3352,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3443,13 +3456,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2414 + "size": 2453 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4215,7 +4230,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4400,12 +4415,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3835 + "size": 3893 } 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 e68d5a85e11a7..83c52ee3f3eb1 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 @@ -565,7 +565,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -645,13 +645,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -1273,7 +1276,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1377,13 +1380,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 4385 + "size": 4424 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2236,7 +2241,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2407,12 +2412,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3879 + "size": 3937 } 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 3be640118d70a..26ca86d314232 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 @@ -2751,7 +2751,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3067,13 +3067,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12290 + "size": 12348 } //// [/src/first/bin/first-output.d.ts] @@ -3377,7 +3380,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3459,13 +3462,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2140 + "size": 2179 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5505,7 +5510,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5723,13 +5728,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7995 + "size": 8053 } @@ -7499,7 +7507,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7816,13 +7824,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12349 + "size": 12407 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8013,7 +8024,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8096,13 +8107,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2213 + "size": 2252 } //// [/src/third/thirdjs/output/third-output.js] @@ -9885,7 +9898,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10104,13 +10117,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8055 + "size": 8113 } @@ -10968,7 +10984,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"65800017434-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"65800017434-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11278,13 +11294,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12310 + "size": 12368 } //// [/src/first/bin/first-output.d.ts.map] @@ -11595,7 +11614,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11671,13 +11690,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12004,7 +12025,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12226,12 +12247,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8195 + "size": 8253 } 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 816a5b53dd69d..b905cd6d9a0d1 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 @@ -2481,7 +2481,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"119062312689-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"119062312689-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2740,13 +2740,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11073 + "size": 11131 } //// [/src/first/bin/first-output.d.ts] @@ -3050,7 +3053,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3132,13 +3135,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2140 + "size": 2179 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5178,7 +5183,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5432,13 +5437,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8255 + "size": 8313 } @@ -5669,7 +5677,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5752,13 +5760,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2213 + "size": 2252 } //// [/src/third/thirdjs/output/third-output.js] @@ -7541,7 +7551,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7796,13 +7806,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8315 + "size": 8373 } @@ -8153,7 +8166,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8229,13 +8242,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8562,7 +8577,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8820,12 +8835,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8455 + "size": 8513 } 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 660825b25bc69..208c01ae3eae9 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 @@ -2987,7 +2987,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3303,13 +3303,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 13731 + "size": 13789 } //// [/src/first/bin/first-output.d.ts] @@ -3619,7 +3622,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3701,13 +3704,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2178 + "size": 2217 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5847,7 +5852,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6065,13 +6070,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8558 + "size": 8616 } @@ -7941,7 +7949,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8258,13 +8266,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 13790 + "size": 13848 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8455,7 +8466,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8538,13 +8549,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2251 + "size": 2290 } //// [/src/third/thirdjs/output/third-output.js] @@ -10427,7 +10440,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10646,12 +10659,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8615 + "size": 8673 } 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 97a9e089c8b7a..fa1ab2069aba0 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 @@ -2711,7 +2711,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1333,"kind":"internal"},{"pos":1335,"end":1383,"kind":"text"}],"mapHash":"-10387050907-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"46063415192-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1333,"kind":"internal"},{"pos":1335,"end":1383,"kind":"text"}],"mapHash":"-10387050907-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"46063415192-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2970,13 +2970,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12478 + "size": 12536 } //// [/src/first/bin/first-output.d.ts] @@ -3286,7 +3289,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3368,13 +3371,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2178 + "size": 2217 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5514,7 +5519,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5768,13 +5773,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8818 + "size": 8876 } @@ -6005,7 +6013,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6088,13 +6096,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2251 + "size": 2290 } //// [/src/third/thirdjs/output/third-output.js] @@ -7977,7 +7987,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8232,12 +8242,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8875 + "size": 8933 } 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 485a474ea868b..971becbddc70c 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 @@ -560,7 +560,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -640,13 +640,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -1432,7 +1435,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1568,13 +1571,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5351 + "size": 5390 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2707,7 +2712,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2897,12 +2902,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5491 + "size": 5549 } 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 36f03d09aaaa9..1d0e96c77aa4c 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 @@ -2771,7 +2771,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3087,13 +3087,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12271 + "size": 12329 } //// [/src/first/bin/first-output.d.ts] @@ -3397,7 +3400,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3479,13 +3482,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2138 + "size": 2177 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5525,7 +5530,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5743,13 +5748,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7995 + "size": 8053 } @@ -8388,7 +8396,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8704,13 +8712,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12268 + "size": 12326 } //// [/src/first/bin/first-output.d.ts] @@ -9014,7 +9025,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9096,13 +9107,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2136 + "size": 2175 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11142,7 +11155,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11360,13 +11373,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7993 + "size": 8051 } @@ -13158,7 +13174,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13475,13 +13491,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12327 + "size": 12385 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -13672,7 +13691,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13755,13 +13774,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2207 + "size": 2246 } //// [/src/third/thirdjs/output/third-output.js] @@ -15544,7 +15565,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -15763,13 +15784,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8052 + "size": 8110 } @@ -16649,7 +16673,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"-16943993016-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"-16943993016-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -16959,13 +16983,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12289 + "size": 12347 } //// [/src/first/bin/first-output.d.ts.map] @@ -17276,7 +17303,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17352,13 +17379,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2153 + "size": 2192 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -17685,7 +17714,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17907,12 +17936,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8193 + "size": 8251 } 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 67b39fbf09410..89c2141766308 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 @@ -183,7 +183,7 @@ sourceFile:../first_PART1.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts"],"fileInfos":["2890484261-/* @internal */ const A = 1;"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-2963648387-declare const A = 1;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts"],"fileInfos":["2890484261-/* @internal */ const A = 1;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-2963648387-declare const A = 1;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -239,13 +239,16 @@ declare const A = 1; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-2963648387-declare const A = 1;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1036 + "size": 1094 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -325,7 +328,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["1943613816-const B = 2;"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"1000124863-declare const B = 2;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["1943613816-const B = 2;"],"options":{"composite":true,"declaration":true,"declarationMap":false,"outFile":"./third-output.js","sourceMap":true},"outSignature":"1000124863-declare const B = 2;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -409,12 +412,15 @@ declare const B = 2; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": false, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "1000124863-declare const B = 2;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1093 + "size": 1152 } 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 1e331dc5db11d..df1d31aaf863e 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 @@ -2851,7 +2851,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3167,13 +3167,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12813 + "size": 12871 } //// [/src/first/bin/first-output.d.ts] @@ -3477,7 +3480,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3559,13 +3562,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2138 + "size": 2177 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5705,7 +5710,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5923,13 +5928,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8539 + "size": 8597 } @@ -7799,7 +7807,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8116,13 +8124,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12872 + "size": 12930 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8313,7 +8324,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8396,13 +8407,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2211 + "size": 2250 } //// [/src/third/thirdjs/output/third-output.js] @@ -10285,7 +10298,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10504,13 +10517,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8598 + "size": 8656 } @@ -11368,7 +11384,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"55383497486-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"55383497486-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11678,13 +11694,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12833 + "size": 12891 } //// [/src/first/bin/first-output.d.ts.map] @@ -11995,7 +12014,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12071,13 +12090,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12404,7 +12425,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12626,12 +12647,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8738 + "size": 8796 } 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 78d5174dd6b15..1fbb9a63ba056 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 @@ -2581,7 +2581,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2840,13 +2840,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11600 + "size": 11658 } //// [/src/first/bin/first-output.d.ts] @@ -3150,7 +3153,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3232,13 +3235,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2138 + "size": 2177 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5378,7 +5383,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5632,13 +5637,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8799 + "size": 8857 } @@ -5869,7 +5877,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5952,13 +5960,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2211 + "size": 2250 } //// [/src/third/thirdjs/output/third-output.js] @@ -7841,7 +7851,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8096,13 +8106,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8858 + "size": 8916 } @@ -8453,7 +8466,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8529,13 +8542,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8862,7 +8877,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9120,12 +9135,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8998 + "size": 9056 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index 92e1d292adaeb..e0fbc318a5065 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -2501,7 +2501,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2760,13 +2760,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11054 + "size": 11112 } //// [/src/first/bin/first-output.d.ts] @@ -3070,7 +3073,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3152,13 +3155,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2138 + "size": 2177 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5198,7 +5203,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5452,13 +5457,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8255 + "size": 8313 } @@ -5821,7 +5829,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5903,13 +5911,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2136 + "size": 2175 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -7949,7 +7959,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8203,13 +8213,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8253 + "size": 8311 } @@ -8462,7 +8475,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8545,13 +8558,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2207 + "size": 2246 } //// [/src/third/thirdjs/output/third-output.js] @@ -10334,7 +10349,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10589,13 +10604,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8312 + "size": 8370 } @@ -10968,7 +10986,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11044,13 +11062,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2153 + "size": 2192 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11377,7 +11397,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11635,12 +11655,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8453 + "size": 8511 } 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 a8faa9fa6baf9..3077007c633fc 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 @@ -629,7 +629,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -722,13 +722,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2786 + "size": 2844 } //// [/src/first/bin/first-output.d.ts] @@ -1089,7 +1092,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1175,13 +1178,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2576 + "size": 2615 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2086,7 +2091,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2285,13 +2290,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5030 + "size": 5088 } @@ -2714,7 +2722,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2800,13 +2808,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2569 + "size": 2608 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3711,7 +3721,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3910,13 +3920,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5023 + "size": 5081 } @@ -4199,7 +4212,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4286,13 +4299,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2641 + "size": 2680 } //// [/src/third/thirdjs/output/third-output.js] @@ -4883,7 +4898,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5083,12 +5098,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5082 + "size": 5140 } 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 ceca8fbefe81d..81e176fec5256 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 @@ -596,7 +596,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -689,13 +689,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2786 + "size": 2844 } //// [/src/first/bin/first-output.d.ts] @@ -999,7 +1002,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1074,13 +1077,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1874,7 +1879,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2051,13 +2056,16 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4055 + "size": 4113 } @@ -2288,7 +2296,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2364,13 +2372,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.js] @@ -2903,7 +2913,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3081,12 +3091,15 @@ declare var c: C; }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4112 + "size": 4170 } 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 7a398b80846c9..cfc77063f024e 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 @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -617,13 +617,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -927,7 +930,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1002,13 +1005,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] 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 6bc2a727a7f1c..6fcc596a6d42f 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 @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -617,13 +617,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -927,7 +930,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1002,13 +1005,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1974,7 +1979,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2050,13 +2055,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents 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 2ab5a74785a8f..bc1e2fa47348d 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 @@ -538,7 +538,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -618,13 +618,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -928,7 +931,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1003,13 +1006,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1748,7 +1753,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"outFile":"./third-output.js","tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.baseline.txt] ====================================================================== @@ -1914,13 +1919,16 @@ declare var c: C; }, "options": { "composite": true, + "declaration": true, + "declarationMap": true, "outFile": "./third-output.js", + "sourceMap": true, "tsBuildInfoFile": "./third.tsbuildinfo" }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3645 + "size": 3703 } 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 12f24dfdc83e1..f7b77f20144a5 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 @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"outFile":"./second-output.js"},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -615,13 +615,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./second-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./second-output.js", + "sourceMap": true }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2185 + "size": 2243 } //// [/src/first/bin/first-output.d.ts] @@ -925,7 +928,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1000,13 +1003,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2086 + "size": 2125 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1664,7 +1669,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1811,13 +1816,16 @@ declare class C { }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3303 + "size": 3361 } @@ -2048,7 +2056,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"outFile":"./first-output.js"},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2124,13 +2132,15 @@ declare function f(): string; }, "options": { "composite": true, - "outFile": "./first-output.js" + "declarationMap": true, + "outFile": "./first-output.js", + "sourceMap": true }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2159 + "size": 2198 } //// [/src/third/thirdjs/output/third-output.js] @@ -2579,7 +2589,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"outFile":"./third-output.js"},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2727,12 +2737,15 @@ declare class C { }, "options": { "composite": true, - "outFile": "./third-output.js" + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true }, "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3363 + "size": 3421 } 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 4d5d985e8af28..446ae29c2869c 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 @@ -86,7 +86,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5450201652-function foo() { return 10; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5450201652-function foo() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -125,13 +125,14 @@ declare function foo(): number; }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "517738360-declare function foo(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 555 + "size": 574 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -162,7 +163,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -227,13 +228,14 @@ declare function bar(): number; }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "9641219228-declare function foo(): number;\ndeclare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 885 + "size": 904 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -322,7 +324,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -361,13 +363,14 @@ declare function myFunc(): number; }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 699 + "size": 718 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -444,7 +447,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -509,13 +512,14 @@ declare function bar(): number; }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 996 + "size": 1015 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -601,7 +605,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -640,13 +644,14 @@ function myFunc() { return 100; } }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 701 + "size": 720 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -705,7 +710,7 @@ function bar() { return foo() + 1; } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -770,13 +775,14 @@ function bar() { return foo() + 1; } }, "options": { "composite": true, + "declaration": true, "outFile": "./index.js" }, "outSignature": "-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 996 + "size": 1015 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index 56f3656977780..3735cd32e7317 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -260,7 +260,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -310,13 +310,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, - "outFile": "./outFile.js" + "outFile": "./outFile.js", + "sourceMap": true }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2509 + "size": 2526 } @@ -456,9 +457,66 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2094 +} + Change:: no-change-run @@ -484,9 +542,65 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + Change:: with declaration and declarationMap @@ -516,7 +630,7 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -566,13 +680,15 @@ No shapes updated in the builder:: }, "options": { "composite": true, + "declaration": true, + "declarationMap": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2458 + "size": 2499 } @@ -684,7 +800,7 @@ No shapes updated in the builder:: //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -742,13 +858,14 @@ declare module "d" { }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1168 + "size": 1195 } @@ -1077,9 +1194,66 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2099 +} + Change:: with inlineSourceMap @@ -1134,7 +1308,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1183,13 +1357,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "inlineSourceMap": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2589 + "size": 2612 } @@ -1249,7 +1424,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1299,13 +1474,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, - "outFile": "./outFile.js" + "outFile": "./outFile.js", + "sourceMap": true }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2511 + "size": 2528 } @@ -1366,7 +1542,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1416,13 +1592,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2463 + "size": 2485 } @@ -1481,7 +1658,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.js.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1532,12 +1709,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, - "outFile": "./outFile.js" + "declarationMap": true, + "outFile": "./outFile.js", + "sourceMap": true }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2894 + "size": 2933 } diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js index dc5f7113aeb90..8df97d0d8b138 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js @@ -41,7 +41,7 @@ var y = 10; //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"hash":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"hash":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -101,13 +101,14 @@ declare const y = 10; }, "options": { "composite": true, + "declaration": true, "outFile": "./outFile.js" }, "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 657 + "size": 676 } @@ -151,7 +152,7 @@ exitCode:: ExitStatus.Success //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -195,12 +196,14 @@ exitCode:: ExitStatus.Success }, "options": { "composite": true, + "declaration": true, + "declarationMap": true, "outFile": "./outFile.js" }, "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 919 + "size": 960 } 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 73929bb8c9803..7c9d3622176ae 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 @@ -115,7 +115,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -155,13 +155,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./lib.js" }, "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 973 + "size": 995 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -226,7 +227,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -292,13 +293,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./compositeExec.js" }, "outSignature": "5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1692 + "size": 1714 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] 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 281d031e18123..17c4a3f6faf15 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 @@ -112,7 +112,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -152,13 +152,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./lib.js" }, "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 973 + "size": 995 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -223,7 +224,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -289,13 +290,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./compositeExec.js" }, "outSignature": "5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1692 + "size": 1714 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] 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 a25ee9652733a..83f8a59e8a29a 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 @@ -250,7 +250,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -290,13 +290,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./lib.js" }, "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 973 + "size": 995 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -361,7 +362,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -427,13 +428,14 @@ declare namespace container { }, "options": { "composite": true, + "declarationMap": true, "outFile": "./compositeExec.js" }, "outSignature": "5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1692 + "size": 1714 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] From b67235e6c6e376a6f86062f84411a1f5048a9db2 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 31 Oct 2022 15:07:50 -0700 Subject: [PATCH 05/11] Store buildInfo program for --out even if not composite --- src/compiler/builder.ts | 4 +- ...-incremental-with-outFile-discrepancies.js | 188 ++++++++++++ ...t-options-with-incremental-with-outFile.js | 42 ++- ...-incremental-with-outFile-discrepancies.js | 52 ++++ ...eclaration-and-incremental-with-outFile.js | 95 +++++- ...-incremental-with-outFile-discrepancies.js | 25 ++ ...eclaration-and-incremental-with-outFile.js | 185 +++++++++++- ...al-flag-changes-between-non-dts-changes.js | 36 ++- ...roject-is-not-composite-but-incremental.js | 18 +- ...t-options-with-incremental-with-outFile.js | 283 ++++++++++++++++-- .../with---out-incremental.js | 17 +- .../module-compilation/with---out-watch.js | 17 +- .../incremental/with---out-incremental.js | 17 +- .../tscWatch/incremental/with---out-watch.js | 17 +- 14 files changed, 929 insertions(+), 67 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index cc718cdf4d55f..c48f69e2307c9 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -823,13 +823,11 @@ namespace ts { * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ function getProgramBuildInfo(state: BuilderProgramState, getCanonicalFileName: GetCanonicalFileName): ProgramBuildInfo | undefined { - const outFilePath = outFile(state.compilerOptions); - if (outFilePath && !state.compilerOptions.composite) return; const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); // Convert the file name to Path here if we set the fileName instead to optimize multiple d.ts file emits and having to compute Canonical path const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : undefined; - if (outFilePath) { + if (outFile(state.compilerOptions)) { const fileNames: string[] = []; const fileInfos: string[] = []; state.program!.getRootFileNames().forEach(f => { diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index 052c62513bd32..ed5feeeacffcd 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -85,6 +85,18 @@ CleanBuild: "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -108,6 +120,17 @@ IncrementalBuild: "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } 2:: with declaration, emit Dts and should not emit js @@ -161,6 +184,18 @@ CleanBuild: "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -184,6 +219,17 @@ IncrementalBuild: "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/outfile.tsbuildinfo.baseline.txt @@ -328,6 +374,19 @@ CleanBuild: "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -351,6 +410,17 @@ IncrementalBuild: "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/outfile.tsbuildinfo.baseline.txt @@ -501,6 +571,19 @@ CleanBuild: "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -524,6 +607,17 @@ IncrementalBuild: "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/outfile.tsbuildinfo.baseline.txt @@ -698,6 +792,18 @@ CleanBuild: "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "inlineSourceMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -721,6 +827,17 @@ IncrementalBuild: "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } 9:: with sourceMap @@ -810,6 +927,18 @@ CleanBuild: "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -833,6 +962,17 @@ IncrementalBuild: "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } 11:: with declaration and declarationMap @@ -892,6 +1032,19 @@ CleanBuild: "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -915,6 +1068,17 @@ IncrementalBuild: "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/outfile.tsbuildinfo.baseline.txt @@ -1059,6 +1223,19 @@ CleanBuild: "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -1082,6 +1259,17 @@ IncrementalBuild: "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/outfile.tsbuildinfo.baseline.txt diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index 13f899c86078f..8402e5ebb4073 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -86,7 +86,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -143,8 +143,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1065 + "size": 1437 } @@ -291,7 +308,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -348,8 +365,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1069 + "size": 1442 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index d904b4285aa4d..b98f60897e2bd 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -64,6 +64,19 @@ CleanBuild: "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -87,6 +100,19 @@ IncrementalBuild: "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/project1/outfile.tsbuildinfo.baseline.txt @@ -231,6 +257,19 @@ CleanBuild: "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -254,6 +293,19 @@ IncrementalBuild: "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/project1/outfile.tsbuildinfo.baseline.txt diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index afb16ea75459f..4aece848383bc 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -111,7 +111,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -154,8 +154,27 @@ declare module "d" { "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 452 + "size": 854 } @@ -262,9 +281,54 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents -//// [/src/project1/outFile.tsbuildinfo] file written with same contents +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 868 +} + Change:: emit js files @@ -485,7 +549,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -572,7 +636,26 @@ declare module "d" { "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1406 + "size": 1840 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index 2e62684ba833b..b8c75d0d41c5c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -65,6 +65,18 @@ CleanBuild: "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } IncrementalBuild: @@ -88,6 +100,19 @@ IncrementalBuild: "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion" } File: /src/project1/outfile.tsbuildinfo.baseline.txt diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index 6692c2009515a..63023a30813ba 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -111,7 +111,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -154,8 +154,27 @@ declare module "d" { "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 452 + "size": 854 } @@ -262,9 +281,54 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents -//// [/src/project1/outFile.tsbuildinfo] file written with same contents +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 868 +} + Change:: non local change @@ -343,7 +407,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -387,8 +451,27 @@ declare module "d" { "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 481 + "size": 918 } @@ -570,7 +653,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -659,8 +742,26 @@ declare module "d" { "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1473 + "size": 1901 } @@ -726,7 +827,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -770,8 +871,27 @@ declare module "d" { "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 481 + "size": 952 } @@ -853,7 +973,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -898,8 +1018,27 @@ declare module "d" { "hash": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 513 + "size": 1008 } @@ -1017,7 +1156,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1111,7 +1250,25 @@ declare module "d" { "hash": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1636 + "size": 2126 } 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 5cf28f9b2ee86..9aaa3c787b289 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 @@ -443,7 +443,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -600,8 +600,22 @@ declare var c: C; "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, + "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true + } + }, "version": "FakeTSVersion", - "size": 3043 + "size": 3261 } @@ -960,7 +974,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}],"mapHash":"56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}],"mapHash":"56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1119,7 +1133,21 @@ declare var c: C; "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, + "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true + } + }, "version": "FakeTSVersion", - "size": 3163 + "size": 3381 } 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 cfc77063f024e..47d48cb122374 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 @@ -1752,7 +1752,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1909,7 +1909,21 @@ declare var c: C; "mapHash": "-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}" } }, + "program": { + "fileNames": [ + "../../third_part1.ts" + ], + "fileInfos": { + "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./third-output.js", + "sourceMap": true + } + }, "version": "FakeTSVersion", - "size": 3043 + "size": 3261 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js index 6e73b93c0a9bb..3c1e334cf99b1 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js @@ -79,7 +79,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -136,8 +136,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1065 + "size": 1437 } @@ -197,7 +214,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -222,8 +239,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, "version": "FakeTSVersion", - "size": 1499 + "size": 1888 } @@ -280,7 +315,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -304,8 +339,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1065 + "size": 1437 } @@ -349,7 +401,7 @@ declare module "d" { //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -434,8 +486,26 @@ declare module "d" { "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1379 + "size": 1770 } @@ -482,7 +552,7 @@ declare module "d" { //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -517,8 +587,27 @@ declare module "d" { "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1762 + "size": 2175 } @@ -547,7 +636,7 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -604,8 +693,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1065 + "size": 1437 } @@ -665,7 +771,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -722,8 +828,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1069 + "size": 1442 } @@ -754,7 +877,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -840,8 +963,27 @@ declare module "d" { "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1766 + "size": 2180 } @@ -870,7 +1012,7 @@ No shapes updated in the builder:: //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -927,8 +1069,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1069 + "size": 1442 } @@ -985,7 +1144,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1009,8 +1168,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "inlineSourceMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1578 + "size": 1974 } @@ -1070,7 +1247,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1095,8 +1272,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, "version": "FakeTSVersion", - "size": 1500 + "size": 1890 } @@ -1153,7 +1348,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1177,8 +1372,25 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1069 + "size": 1442 } @@ -1209,7 +1421,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1295,8 +1507,27 @@ declare module "d" { "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, "version": "FakeTSVersion", - "size": 1766 + "size": 2180 } diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 6bb73abf708bf..3b794480e011d 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -62,7 +62,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -83,8 +83,21 @@ define("file2", ["require", "exports"], function (require, exports) { "hash": "-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n" } }, + "program": { + "fileNames": [ + "./file1.ts", + "./file2.ts" + ], + "fileInfos": { + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;" + }, + "options": { + "outFile": "./out.js" + } + }, "version": "FakeTSVersion", - "size": 548 + "size": 719 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index 82f67bfc5e972..079e79fe66044 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -79,7 +79,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -100,8 +100,21 @@ define("file2", ["require", "exports"], function (require, exports) { "hash": "-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n" } }, + "program": { + "fileNames": [ + "./file1.ts", + "./file2.ts" + ], + "fileInfos": { + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;" + }, + "options": { + "outFile": "./out.js" + } + }, "version": "FakeTSVersion", - "size": 548 + "size": 719 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 604a3ea3abf48..525c90a2feb35 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -52,7 +52,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -73,8 +73,21 @@ var y = 20; "hash": "-5596233073-var x = 10;\nvar y = 20;\n" } }, + "program": { + "fileNames": [ + "./file1.ts", + "./file2.ts" + ], + "fileInfos": { + "./file1.ts": "5029505981-const x = 10;", + "./file2.ts": "2026007743-const y = 20;" + }, + "options": { + "outFile": "./out.js" + } + }, "version": "FakeTSVersion", - "size": 210 + "size": 363 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 1d01283f8c0a2..94d88dc199773 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -69,7 +69,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -90,8 +90,21 @@ var y = 20; "hash": "-5596233073-var x = 10;\nvar y = 20;\n" } }, + "program": { + "fileNames": [ + "./file1.ts", + "./file2.ts" + ], + "fileInfos": { + "./file1.ts": "5029505981-const x = 10;", + "./file2.ts": "2026007743-const y = 20;" + }, + "options": { + "outFile": "./out.js" + } + }, "version": "FakeTSVersion", - "size": 210 + "size": 363 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] From 9b27e344c63e6a5e7de1c3da1ad1d10711e1c707 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 17 Oct 2022 13:29:38 -0700 Subject: [PATCH 06/11] Changes to make these commanline options work --- src/compiler/builder.ts | 367 +++-- src/compiler/builderStatePublic.ts | 2 +- src/compiler/commandLineParser.ts | 12 +- src/compiler/diagnosticMessages.json | 4 + src/compiler/emitter.ts | 2 +- src/compiler/tsbuild.ts | 3 +- src/compiler/tsbuildPublic.ts | 33 +- src/compiler/types.ts | 1 + .../unittests/tsbuild/configFileErrors.ts | 15 +- src/testRunner/unittests/tsbuild/helpers.ts | 45 +- .../different-options-discrepancies.js | 629 -------- ...-options-with-incremental-discrepancies.js | 1044 +----------- ...-incremental-with-outFile-discrepancies.js | 1127 +------------ ...t-options-with-incremental-with-outFile.js | 1206 ++++++++++++-- .../different-options-with-incremental.js | 1415 +++++++++++++++-- ...rent-options-with-outFile-discrepancies.js | 735 +-------- .../different-options-with-outFile.js | 663 +++++++- .../tsbuild/commandLine/different-options.js | 867 +++++++++- ...Only-false-on-commandline-discrepancies.js | 463 +----- ...claration-and-incremental-discrepancies.js | 372 +---- ...-incremental-with-outFile-discrepancies.js | 254 +-- ...eclaration-and-incremental-with-outFile.js | 191 ++- ...ndline-with-declaration-and-incremental.js | 298 +++- ...-commandline-with-outFile-discrepancies.js | 693 +------- ...nOnly-false-on-commandline-with-outFile.js | 317 +++- ...mitDeclarationOnly-false-on-commandline.js | 321 +++- ...rationOnly-on-commandline-discrepancies.js | 138 +- ...claration-and-incremental-discrepancies.js | 538 +------ ...-incremental-with-outFile-discrepancies.js | 106 +- ...eclaration-and-incremental-with-outFile.js | 215 ++- ...ndline-with-declaration-and-incremental.js | 638 +++++++- ...-commandline-with-outFile-discrepancies.js | 269 ++-- ...arationOnly-on-commandline-with-outFile.js | 430 ++++- .../emitDeclarationOnly-on-commandline.js | 371 ++++- ...tax-errors-in-config-file-discrepancies.js | 118 -- .../reports-syntax-errors-in-config-file.js | 52 + ...s-not-in-rootDir-at-the-import-location.js | 8 +- ...hange-in-signature-with-isolatedModules.js | 12 +- ...based-projects-and-emits-them-correctly.js | 2 +- .../semantic-errors-with-incremental.js | 4 +- .../noEmit/syntax-errors-with-incremental.js | 2 +- .../semantic-errors-with-incremental.js | 6 +- .../tsbuild/resolveJsonModule/include-only.js | 4 +- ...ojects-if-upstream-projects-have-errors.js | 2 +- .../when-declaration-option-changes.js | 4 +- ...en-declarationMap-changes-discrepancies.js | 18 - .../sample1/when-declarationMap-changes.js | 48 +- ...de-resolution-with-external-module-name.js | 2 +- .../reports-syntax-errors-in-config-file.js | 62 +- .../demo/updates-with-bad-reference.js | 16 +- ...n-no-files-are-emitted-with-incremental.js | 8 +- ...mit-any-files-on-error-with-incremental.js | 2 +- .../when-preserveWatchOutput-is-not-used.js | 4 +- ...veWatchOutput-is-passed-on-command-line.js | 4 +- ...in-another-file-through-indirect-import.js | 6 +- ...s-global-through-export-in-another-file.js | 6 +- .../different-options-discrepancies.js | 348 +++- ...-options-with-incremental-discrepancies.js | 170 +- .../different-options-with-incremental.js | 194 --- ...rent-options-with-outFile-discrepancies.js | 94 +- .../different-options-with-outFile.js | 45 + .../tsc/incremental/different-options.js | 520 +----- .../incremental/noEmit-changes-composite.js | 16 +- .../noEmit-changes-incremental-declaration.js | 16 +- .../incremental/noEmit-changes-incremental.js | 12 +- ...t-changes-with-initial-noEmit-composite.js | 20 +- ...-initial-noEmit-incremental-declaration.js | 20 +- ...changes-with-initial-noEmit-incremental.js | 16 +- ...en-declarationMap-changes-discrepancies.js | 21 +- ...nMap-changes-with-outFile-discrepancies.js | 10 - ...hen-declarationMap-changes-with-outFile.js | 5 + .../when-declarationMap-changes.js | 20 +- .../when-project-has-strict-true.js | 2 +- .../with-noEmitOnError-semantic-errors.js | 6 +- .../with-noEmitOnError-syntax-errors.js | 6 +- .../with-noEmitOnError-with-incremental.js | 8 +- .../with-noEmitOnError-with-incremental.js | 8 +- .../with-noEmitOnError-with-incremental.js | 8 +- .../with-noEmitOnError-with-incremental.js | 8 +- .../with-noEmitOnError-with-incremental.js | 8 +- .../with-noEmitOnError-with-incremental.js | 8 +- ...n-declarationMap-changes-for-dependency.js | 101 +- ...noEmit-with-composite-with-emit-builder.js | 6 +- ...it-with-composite-with-semantic-builder.js | 6 +- ...nError-with-composite-with-emit-builder.js | 8 +- ...or-with-composite-with-semantic-builder.js | 8 +- .../watchApi/semantic-builder-emitOnlyDts.js | 20 +- ...ting-with-emitOnlyDtsFiles-with-outFile.js | 109 +- .../when-emitting-with-emitOnlyDtsFiles.js | 96 +- ...disableSourceOfProjectReferenceRedirect.js | 4 +- ...port-with-referenced-project-when-built.js | 4 +- 91 files changed, 8101 insertions(+), 8024 deletions(-) delete mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index c48f69e2307c9..6acbef544ddee 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -40,15 +40,11 @@ namespace ts { /** * Files pending to be emitted */ - affectedFilesPendingEmit?: readonly Path[] | undefined; + affectedFilesPendingEmit?: ReadonlyESMap; /** - * Files pending to be emitted kind. + * emitKind pending for a program with --out */ - affectedFilesPendingEmitKind?: ESMap | undefined; - /** - * Current index to retrieve pending affected file - */ - affectedFilesPendingEmitIndex?: number | undefined; + programEmitPending?: BuilderFileEmit; /* * true if semantic diagnostics are ReusableDiagnostic instead of Diagnostic */ @@ -57,10 +53,18 @@ namespace ts { * Hash of d.ts emitted for the file, use to track when emit of d.ts changes */ emitSignatures?: ESMap; + /** + * Path is in this set if emitSignature was emitted with different declarationMap than compilerOptions.declarationMap + */ + emitSignatureDtsMapDiffers?: Set; /** * Hash of d.ts emit with --out */ outSignature?: string; + /** + * true if outSignature was emitted with different declarationMap than compilerOptions.declarationMap + */ + outSignatureDtsMapDiffers?: true; /** * Name of the file whose dts was the latest to change */ @@ -68,8 +72,16 @@ namespace ts { } export const enum BuilderFileEmit { - DtsOnly, - Full + None = 0, + Js = 1 << 0, + JsMap = 1 << 1, + JsInlineMap = 1 << 2, + Dts = 1 << 3, + DtsMap = 1 << 4, + + AllJs = Js | JsMap | JsInlineMap, + AllDts = Dts | DtsMap, + All = AllJs | AllDts, } /** @@ -116,7 +128,7 @@ namespace ts { /** * Files pending to be emitted */ - affectedFilesPendingEmit: Path[] | undefined; + affectedFilesPendingEmit?: ESMap; /** * true if build info is emitted */ @@ -125,26 +137,46 @@ namespace ts { * Already seen emitted files */ seenEmittedFiles: ESMap | undefined; - /** - * true if program has been emitted - */ - programEmitComplete?: true; /** Stores list of files that change signature during emit - test only */ filesChangingSignature?: Set; } export type SavedBuildProgramEmitState = Pick & { changedFilesSet: BuilderProgramState["changedFilesSet"] | undefined }; + export function getBuilderFileEmit(options: CompilerOptions) { + let result = BuilderFileEmit.Js; + if (options.sourceMap) result = result | BuilderFileEmit.JsMap; + if (options.inlineSourceMap) result = result | BuilderFileEmit.JsInlineMap; + if (getEmitDeclarations(options)) result = result | BuilderFileEmit.Dts; + if (options.declarationMap) result = result | BuilderFileEmit.DtsMap; + if (options.emitDeclarationOnly) result = result & ~BuilderFileEmit.AllJs; + return result; + } + + export function getPendingEmitKind(optionsOrEmitKind: CompilerOptions | BuilderFileEmit, oldOptionsOrEmitKind: CompilerOptions | BuilderFileEmit | undefined): BuilderFileEmit { + const oldEmitKind = oldOptionsOrEmitKind && (isNumber(oldOptionsOrEmitKind) ? oldOptionsOrEmitKind : getBuilderFileEmit(oldOptionsOrEmitKind)); + const emitKind = isNumber(optionsOrEmitKind) ? optionsOrEmitKind : getBuilderFileEmit(optionsOrEmitKind); + if (oldEmitKind === emitKind) return BuilderFileEmit.None; + if (!oldEmitKind || !emitKind) return emitKind; + const diff = oldEmitKind ^ emitKind; + let result = BuilderFileEmit.None; + // If there is diff in Js emit, pending emit is js emit flags + if (diff & BuilderFileEmit.AllJs) result = emitKind & BuilderFileEmit.AllJs; + // If there is diff in Dts emit, pending emit is dts emit flags + if (diff & BuilderFileEmit.AllDts) result = result | (emitKind & BuilderFileEmit.AllDts); + return result; + } + function hasSameKeys(map1: ReadonlyCollection | undefined, map2: ReadonlyCollection | undefined): boolean { // Has same size and every key is present in both maps return map1 === map2 || map1 !== undefined && map2 !== undefined && map1.size === map2.size && !forEachKey(map1, key => !map2.has(key)); @@ -165,6 +197,7 @@ namespace ts { } else if (compilerOptions.composite && oldState?.outSignature && outFilePath === outFile(oldState?.compilerOptions)) { state.outSignature = oldState?.outSignature; + if (emitSignatureDtsMapDiffers(compilerOptions, oldState.compilerOptions, oldState.outSignatureDtsMapDiffers)) state.outSignatureDtsMapDiffers = true; } state.changedFilesSet = new Set(); state.latestChangedDtsFile = compilerOptions.composite ? oldState?.latestChangedDtsFile : undefined; @@ -186,12 +219,14 @@ namespace ts { if (useOldState) { // Copy old state's changed files set oldState!.changedFilesSet?.forEach(value => state.changedFilesSet.add(value)); - if (!outFilePath && oldState!.affectedFilesPendingEmit) { - state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); - state.affectedFilesPendingEmitKind = oldState!.affectedFilesPendingEmitKind && new Map(oldState!.affectedFilesPendingEmitKind); - state.affectedFilesPendingEmitIndex = oldState!.affectedFilesPendingEmitIndex; + if (!outFilePath && oldState!.affectedFilesPendingEmit?.size) { + state.affectedFilesPendingEmit = new Map(oldState!.affectedFilesPendingEmit); state.seenAffectedFiles = new Set(); } + state.programEmitPending = oldState!.programEmitPending; + } + else { + state.buildInfoEmitPending = true; } // Update changed files and copy semantic diagnostics if we can @@ -216,7 +251,7 @@ namespace ts { // Referenced file was deleted in the new program newReferences && forEachKey(newReferences, path => !state.fileInfos.has(path) && oldState!.fileInfos.has(path))) { // Register file as changed file and do not copy semantic diagnostics, since all changed files need to be re-evaluated - state.changedFilesSet.add(sourceFilePath); + addFileToChangeSet(state, sourceFilePath); } else if (canCopySemanticDiagnostics) { const sourceFile = newProgram.getSourceFileByPath(sourceFilePath)!; @@ -236,26 +271,60 @@ namespace ts { } if (canCopyEmitSignatures) { const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath); - if (oldEmitSignature) (state.emitSignatures ||= new Map()).set(sourceFilePath, oldEmitSignature); + if (oldEmitSignature) { + (state.emitSignatures ??= new Map()).set(sourceFilePath, oldEmitSignature); + if (emitSignatureDtsMapDiffers(compilerOptions, oldState.compilerOptions, oldState.emitSignatureDtsMapDiffers?.has(sourceFilePath))) { + (state.emitSignatureDtsMapDiffers ??= new Set()).add(sourceFilePath); + } + } } }); // If the global file is removed, add all files as changed if (useOldState && forEachEntry(oldState!.fileInfos, (info, sourceFilePath) => info.affectsGlobalScope && !state.fileInfos.has(sourceFilePath))) { BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, /*firstSourceFile*/ undefined) - .forEach(file => state.changedFilesSet.add(file.resolvedPath)); + .forEach(file => addFileToChangeSet(state, file.resolvedPath)); } - else if (oldCompilerOptions && !outFilePath && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) { - // Add all files to affectedFilesPendingEmit since emit changed - newProgram.getSourceFiles().forEach(f => addToAffectedFilesPendingEmit(state, f.resolvedPath, BuilderFileEmit.Full)); - Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); - state.seenAffectedFiles = state.seenAffectedFiles || new Set(); + else if (oldCompilerOptions) { + const pendingEmitKind = compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions) ? + getBuilderFileEmit(compilerOptions) : + getPendingEmitKind(compilerOptions, oldCompilerOptions); + if (pendingEmitKind !== BuilderFileEmit.None) { + if (!outFilePath) { + // Add all files to affectedFilesPendingEmit since emit changed + newProgram.getSourceFiles().forEach(f => { + if (!state.changedFilesSet.has(f.resolvedPath)) { + addToAffectedFilesPendingEmit( + state, + f.resolvedPath, + pendingEmitKind + ); + } + }); + Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); + state.seenAffectedFiles = state.seenAffectedFiles || new Set(); + state.buildInfoEmitPending = true; + } + else { + state.programEmitPending = state.programEmitPending ? + state.programEmitPending | pendingEmitKind : + pendingEmitKind; + } + } } - // Since old states change files set is copied, any additional change means we would need to emit build info - state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== (oldState!.changedFilesSet?.size || 0); return state; } + function addFileToChangeSet(state: BuilderProgramState, path: Path) { + state.changedFilesSet.add(path); + state.buildInfoEmitPending = true; + state.programEmitPending = undefined; + } + + function emitSignatureDtsMapDiffers(options: CompilerOptions, oldOptions: CompilerOptions, oldEmitSignatureDiffers: boolean | undefined) { + return !!options.declarationMap === !!oldOptions.declarationMap ? oldEmitSignatureDiffers : !oldEmitSignatureDiffers; + } + function convertToDiagnostics(diagnostics: readonly ReusableDiagnostic[], newProgram: Program, getCanonicalFileName: GetCanonicalFileName): readonly Diagnostic[] { if (!diagnostics.length) return emptyArray; const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(newProgram.getCompilerOptions())!, newProgram.getCurrentDirectory())); @@ -300,13 +369,13 @@ namespace ts { // Only in --out changeFileSet is kept around till emit Debug.assert(!state.changedFilesSet.size || outFilePath); return { - affectedFilesPendingEmit: state.affectedFilesPendingEmit && state.affectedFilesPendingEmit.slice(), - affectedFilesPendingEmitKind: state.affectedFilesPendingEmitKind && new Map(state.affectedFilesPendingEmitKind), - affectedFilesPendingEmitIndex: state.affectedFilesPendingEmitIndex, + affectedFilesPendingEmit: state.affectedFilesPendingEmit && new Map(state.affectedFilesPendingEmit), seenEmittedFiles: state.seenEmittedFiles && new Map(state.seenEmittedFiles), - programEmitComplete: state.programEmitComplete, + programEmitPending: state.programEmitPending, emitSignatures: state.emitSignatures && new Map(state.emitSignatures), + emitSignatureDtsMapDiffers: state.emitSignatureDtsMapDiffers && new Set(state.emitSignatureDtsMapDiffers), outSignature: state.outSignature, + outSignatureDtsMapDiffers: state.outSignatureDtsMapDiffers, latestChangedDtsFile: state.latestChangedDtsFile, hasChangedEmitSignature: state.hasChangedEmitSignature, changedFilesSet: outFilePath ? new Set(state.changedFilesSet) : undefined, @@ -315,12 +384,12 @@ namespace ts { function restoreBuilderProgramEmitState(state: BuilderProgramState, savedEmitState: SavedBuildProgramEmitState) { state.affectedFilesPendingEmit = savedEmitState.affectedFilesPendingEmit; - state.affectedFilesPendingEmitKind = savedEmitState.affectedFilesPendingEmitKind; - state.affectedFilesPendingEmitIndex = savedEmitState.affectedFilesPendingEmitIndex; state.seenEmittedFiles = savedEmitState.seenEmittedFiles; - state.programEmitComplete = savedEmitState.programEmitComplete; + state.programEmitPending = savedEmitState.programEmitPending; state.emitSignatures = savedEmitState.emitSignatures; + state.emitSignatureDtsMapDiffers = savedEmitState.emitSignatureDtsMapDiffers; state.outSignature = savedEmitState.outSignature; + state.outSignatureDtsMapDiffers = savedEmitState.outSignatureDtsMapDiffers; state.latestChangedDtsFile = savedEmitState.latestChangedDtsFile; state.hasChangedEmitSignature = savedEmitState.hasChangedEmitSignature; if (savedEmitState.changedFilesSet) state.changedFilesSet = savedEmitState.changedFilesSet; @@ -356,6 +425,7 @@ namespace ts { if (!seenAffectedFiles.has(affectedFile.resolvedPath)) { // Set the next affected file as seen and remove the cached semantic diagnostics state.affectedFilesIndex = affectedFilesIndex; + addToAffectedFilesPendingEmit(state, affectedFile.resolvedPath, getBuilderFileEmit(state.compilerOptions)); handleDtsMayChangeOfAffectedFile( state, affectedFile, @@ -409,34 +479,32 @@ namespace ts { } } - function clearAffectedFilesPendingEmit(state: BuilderProgramState) { - state.affectedFilesPendingEmit = undefined; - state.affectedFilesPendingEmitKind = undefined; - state.affectedFilesPendingEmitIndex = undefined; + function clearAffectedFilesPendingEmit(state: BuilderProgramState, emitOnlyDtsFiles: boolean | undefined) { + if (!state.affectedFilesPendingEmit?.size) return; + if (!emitOnlyDtsFiles) return state.affectedFilesPendingEmit = undefined; + state.affectedFilesPendingEmit.forEach((emitKind, path) => { + const pending = emitKind & BuilderFileEmit.AllJs; + if (!pending) state.affectedFilesPendingEmit!.delete(path); + else state.affectedFilesPendingEmit!.set(path, pending); + }); } /** * Returns next file to be emitted from files that retrieved semantic diagnostics but did not emit yet */ - function getNextAffectedFilePendingEmit(state: BuilderProgramState) { - const { affectedFilesPendingEmit } = state; - if (affectedFilesPendingEmit) { - const seenEmittedFiles = (state.seenEmittedFiles || (state.seenEmittedFiles = new Map())); - for (let i = state.affectedFilesPendingEmitIndex!; i < affectedFilesPendingEmit.length; i++) { - const affectedFile = Debug.checkDefined(state.program).getSourceFileByPath(affectedFilesPendingEmit[i]); - if (affectedFile && sourceFileMayBeEmitted(affectedFile, state.program!)) { - const seenKind = seenEmittedFiles.get(affectedFile.resolvedPath); - const emitKind = Debug.checkDefined(Debug.checkDefined(state.affectedFilesPendingEmitKind).get(affectedFile.resolvedPath)); - if (seenKind === undefined || seenKind < emitKind) { - // emit this file - state.affectedFilesPendingEmitIndex = i; - return { affectedFile, emitKind }; - } - } + function getNextAffectedFilePendingEmit(state: BuilderProgramState, emitOnlyDtsFiles: boolean | undefined) { + if (!state.affectedFilesPendingEmit?.size) return undefined; + return forEachEntry(state.affectedFilesPendingEmit, (emitKind, path) => { + const affectedFile = state.program!.getSourceFileByPath(path); + if (!affectedFile || !sourceFileMayBeEmitted(affectedFile, state.program!)) { + state.affectedFilesPendingEmit!.delete(path); + return undefined; } - clearAffectedFilesPendingEmit(state); - } - return undefined; + const seenKind = state.seenEmittedFiles?.get(affectedFile.resolvedPath); + let pendingKind = getPendingEmitKind(emitKind, seenKind); + if (emitOnlyDtsFiles) pendingKind = pendingKind & BuilderFileEmit.AllDts; + if (pendingKind) return { affectedFile, emitKind: pendingKind }; + }); } function removeDiagnosticsOfLibraryFiles(state: BuilderProgramState) { @@ -527,7 +595,7 @@ namespace ts { ); // If not dts emit, nothing more to do if (getEmitDeclarations(state.compilerOptions)) { - addToAffectedFilesPendingEmit(state, path, BuilderFileEmit.DtsOnly); + addToAffectedFilesPendingEmit(state, path, state.compilerOptions.declarationMap ? BuilderFileEmit.AllDts : BuilderFileEmit.Dts); } } } @@ -685,7 +753,7 @@ namespace ts { state: BuilderProgramState, affected: SourceFile | Program, emitKind?: BuilderFileEmit, - isPendingEmit?: boolean, + programEmitKind?: BuilderFileEmit, isBuildInfoEmit?: boolean ) { if (isBuildInfoEmit) { @@ -693,20 +761,24 @@ namespace ts { } else if (affected === state.program) { state.changedFilesSet.clear(); - state.programEmitComplete = true; } else { - state.seenAffectedFiles!.add((affected as SourceFile).resolvedPath); + const affectedSourceFile = affected as SourceFile; + state.seenAffectedFiles!.add(affectedSourceFile.resolvedPath); + if (state.affectedFilesIndex !== undefined) state.affectedFilesIndex++; // Change in changeSet/affectedFilesPendingEmit, buildInfo needs to be emitted state.buildInfoEmitPending = true; if (emitKind !== undefined) { - (state.seenEmittedFiles || (state.seenEmittedFiles = new Map())).set((affected as SourceFile).resolvedPath, emitKind); - } - if (isPendingEmit) { - state.affectedFilesPendingEmitIndex!++; - } - else { - state.affectedFilesIndex!++; + const existing = state.seenEmittedFiles?.get(affectedSourceFile.resolvedPath) || BuilderFileEmit.None; + (state.seenEmittedFiles ??= new Map()).set(affectedSourceFile.resolvedPath, emitKind | existing); + const existingPending = state.affectedFilesPendingEmit?.get(affectedSourceFile.resolvedPath) || programEmitKind!; + const pendingKind = getPendingEmitKind(existingPending, emitKind | existing); + if (pendingKind) { + (state.affectedFilesPendingEmit ??= new Map()).set(affectedSourceFile.resolvedPath, pendingKind); + } + else { + state.affectedFilesPendingEmit?.delete(affectedSourceFile.resolvedPath); + } } } } @@ -727,10 +799,10 @@ namespace ts { result: EmitResult, affected: SourceFile | Program, emitKind: BuilderFileEmit, - isPendingEmit?: boolean, + programEmitKind: BuilderFileEmit, isBuildInfoEmit?: boolean ): AffectedFileResult { - doneWithAffectedFile(state, affected, emitKind, isPendingEmit, isBuildInfoEmit); + doneWithAffectedFile(state, affected, emitKind, programEmitKind, isBuildInfoEmit); return { result, affected }; } @@ -770,7 +842,12 @@ namespace ts { export type ProgramBuildInfoFileId = number & { __programBuildInfoFileIdBrand: any }; export type ProgramBuildInfoFileIdListId = number & { __programBuildInfoFileIdListIdBrand: any }; export type ProgramBuildInfoDiagnostic = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId, diagnostics: readonly ReusableDiagnostic[]]; - export type ProgramBuilderInfoFilePendingEmit = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId]; + /** + * fileId if pending emit is same as what compilerOptions suggest + * [fileId] if pending emit is only dts file emit + * [fileId, emitKind] if any other type emit is pending + */ + export type ProgramBuilderInfoFilePendingEmit = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId] | [fileId: ProgramBuildInfoFileId, emitKind: BuilderFileEmit]; export type ProgramBuildInfoReferencedMap = [fileId: ProgramBuildInfoFileId, fileIdListId: ProgramBuildInfoFileIdListId][]; export type ProgramBuildInfoBuilderStateFileInfo = Omit & { /** @@ -801,16 +878,23 @@ namespace ts { affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; changeFileSet: readonly ProgramBuildInfoFileId[] | undefined; emitSignatures: readonly ProgramBuildInfoEmitSignature[] | undefined; + emitSignatureDtsMapDiffers: readonly ProgramBuildInfoFileId[] | undefined; // Because this is only output file in the program, we dont need fileId to deduplicate name latestChangedDtsFile?: string | undefined; } - + /** + * false if it is the emit corresponding to compilerOptions + * value otherwise + */ + export type ProgramBuildInfoBundlePendingEmit = BuilderFileEmit | false; export interface ProgramBundleEmitBuildInfo { fileNames: readonly string[]; fileInfos: readonly string[]; options: CompilerOptions | undefined; outSignature: string | undefined; + outSignatureDtsMapDiffers: true | undefined; latestChangedDtsFile: string | undefined; + pendingEmit: ProgramBuildInfoBundlePendingEmit | undefined; } export type ProgramBuildInfo = ProgramMultiFileEmitBuildInfo | ProgramBundleEmitBuildInfo; @@ -841,7 +925,13 @@ namespace ts { fileInfos, options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsBundleEmitBuildInfo"), outSignature: state.outSignature, + outSignatureDtsMapDiffers: state.outSignatureDtsMapDiffers, latestChangedDtsFile, + pendingEmit: !state.programEmitPending ? + undefined : + state.programEmitPending === getBuilderFileEmit(state.compilerOptions) ? + false : + state.programEmitPending, }; return result; } @@ -851,6 +941,7 @@ namespace ts { let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; + let emitSignatureDtsMapDiffers: ProgramBuildInfoFileId[] | undefined; const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { // Ensure fileId const fileId = toFileId(key); @@ -864,6 +955,7 @@ namespace ts { if (emitSignature !== actualSignature) { (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); } + if (state.emitSignatureDtsMapDiffers?.has(key)) (emitSignatureDtsMapDiffers ??= []).push(fileId); } } return value.version === actualSignature ? @@ -917,15 +1009,20 @@ namespace ts { } let affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; - if (state.affectedFilesPendingEmit) { + if (state.affectedFilesPendingEmit?.size) { + const fullEmitForOptions = getBuilderFileEmit(state.compilerOptions); const seenFiles = new Set(); - for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) { + for (const path of arrayFrom(state.affectedFilesPendingEmit.keys()).sort(compareStringsCaseSensitive)) { if (tryAddToSet(seenFiles, path)) { const file = state.program!.getSourceFileByPath(path)!; if (!sourceFileMayBeEmitted(file, state.program!)) continue; - const fileId = toFileId(path), emitKind = state.affectedFilesPendingEmitKind!.get(path)!; + const fileId = toFileId(path), pendingEmit = state.affectedFilesPendingEmit.get(path)!; (affectedFilesPendingEmit ||= []).push( - emitKind === BuilderFileEmit.Full ? fileId : [fileId] + pendingEmit === fullEmitForOptions ? + fileId : + pendingEmit === BuilderFileEmit.Dts ? + [fileId] : + [fileId, pendingEmit] ); } } @@ -949,6 +1046,7 @@ namespace ts { affectedFilesPendingEmit, changeFileSet, emitSignatures, + emitSignatureDtsMapDiffers, latestChangedDtsFile, }; return result; @@ -1195,11 +1293,11 @@ namespace ts { */ function emitNextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): AffectedFileResult { let affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host); - let emitKind = BuilderFileEmit.Full; - let isPendingEmitFile = false; + const programEmitKind = getBuilderFileEmit(state.compilerOptions); + let emitKind = emitOnlyDtsFiles ? programEmitKind & BuilderFileEmit.AllDts : programEmitKind; if (!affected) { if (!outFile(state.compilerOptions)) { - const pendingAffectedFile = getNextAffectedFilePendingEmit(state); + const pendingAffectedFile = getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles); if (!pendingAffectedFile) { if (!state.buildInfoEmitPending) { return undefined; @@ -1212,21 +1310,30 @@ namespace ts { // Otherwise just affected file affected.emitBuildInfo(writeFile || maybeBind(host, host.writeFile), cancellationToken), affected, - /*emitKind*/ BuilderFileEmit.Full, - /*isPendingEmitFile*/ false, + emitKind, + programEmitKind, /*isBuildInfoEmit*/ true ); } ({ affectedFile: affected, emitKind } = pendingAffectedFile); - isPendingEmitFile = true; } else { - const program = Debug.checkDefined(state.program); - if (state.programEmitComplete) return undefined; - affected = program; + if (!state.programEmitPending) return undefined; + emitKind = state.programEmitPending; + if (emitOnlyDtsFiles) emitKind = emitKind & BuilderFileEmit.AllDts; + if (!emitKind) return undefined; + affected = state.program!; } } + if (affected === state.program) { + state.programEmitPending = state.changedFilesSet.size ? + getPendingEmitKind(programEmitKind, emitKind) : + state.programEmitPending ? + getPendingEmitKind(state.programEmitPending, emitKind) : + undefined; + } + return toAffectedFileEmitResult( state, // When whole program is affected, do emit only once (eg when --out or --outFile is specified) @@ -1237,12 +1344,12 @@ namespace ts { getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, - emitOnlyDtsFiles || emitKind === BuilderFileEmit.DtsOnly, + emitOnlyDtsFiles || !(emitKind & BuilderFileEmit.AllJs), customTransformers ), affected, emitKind, - isPendingEmitFile, + programEmitKind, ); } @@ -1291,19 +1398,33 @@ namespace ts { const oldSignature = state.emitSignatures?.get(filePath); emitSignature ??= computeSignature(text, computeHash, data); // Dont write dts files if they didn't change - if (emitSignature === oldSignature) return; - (state.emitSignatures ??= new Map()).set(filePath, emitSignature); - state.hasChangedEmitSignature = true; - state.latestChangedDtsFile = fileName; + if (emitSignature === oldSignature) { + if (!state.emitSignatureDtsMapDiffers?.has(filePath)) return; + else if (data) data.differsOnlyInMap = true; + else data = { differsOnlyInMap: true }; + } + else { + (state.emitSignatures ??= new Map()).set(filePath, emitSignature); + state.hasChangedEmitSignature = true; + state.latestChangedDtsFile = fileName; + } + state.emitSignatureDtsMapDiffers?.delete(filePath); } } else if (state.compilerOptions.composite) { const newSignature = computeSignature(text, computeHash, data); // Dont write dts files if they didn't change - if (newSignature === state.outSignature) return; - state.outSignature = newSignature; - state.hasChangedEmitSignature = true; - state.latestChangedDtsFile = fileName; + if (newSignature === state.outSignature) { + if (!state.outSignatureDtsMapDiffers) return; + else if (data) data.differsOnlyInMap = true; + else data = { differsOnlyInMap: true }; + } + else { + state.outSignature = newSignature; + state.hasChangedEmitSignature = true; + state.latestChangedDtsFile = fileName; + } + state.outSignatureDtsMapDiffers = undefined; } } if (writeFile) writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); @@ -1354,16 +1475,8 @@ namespace ts { }; } // In non Emit builder, clear affected files pending emit - else if (state.affectedFilesPendingEmitKind?.size) { - Debug.assert(kind === BuilderProgramKind.SemanticDiagnosticsBuilderProgram); - // State can clear affected files pending emit if - if (!emitOnlyDtsFiles // If we are doing complete emit, affected files pending emit can be cleared - // If every file pending emit is pending on only dts emit - || every(state.affectedFilesPendingEmit, (path, index) => - index < state.affectedFilesPendingEmitIndex! || - state.affectedFilesPendingEmitKind!.get(path) === BuilderFileEmit.DtsOnly)) { - clearAffectedFilesPendingEmit(state); - } + else { + clearAffectedFilesPendingEmit(state, emitOnlyDtsFiles); } } return Debug.checkDefined(state.program).emit( @@ -1397,12 +1510,6 @@ namespace ts { ); } - // Add file to affected file pending emit to handle for later emit time - // Apart for emit builder do this for tsbuildinfo, do this for non emit builder when noEmit is set as tsbuildinfo is written and reused between emitters - if (kind === BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram || state.compilerOptions.noEmit || state.compilerOptions.noEmitOnError) { - addToAffectedFilesPendingEmit(state, (affected as SourceFile).resolvedPath, BuilderFileEmit.Full); - } - // Get diagnostics for the affected file if its not ignored if (ignoreSourceFile && ignoreSourceFile(affected as SourceFile)) { // Get next affected file @@ -1454,20 +1561,8 @@ namespace ts { } function addToAffectedFilesPendingEmit(state: BuilderProgramState, affectedFilePendingEmit: Path, kind: BuilderFileEmit) { - if (!state.affectedFilesPendingEmit) state.affectedFilesPendingEmit = []; - if (!state.affectedFilesPendingEmitKind) state.affectedFilesPendingEmitKind = new Map(); - - const existingKind = state.affectedFilesPendingEmitKind.get(affectedFilePendingEmit); - state.affectedFilesPendingEmit.push(affectedFilePendingEmit); - state.affectedFilesPendingEmitKind.set(affectedFilePendingEmit, existingKind || kind); - - // affectedFilesPendingEmitIndex === undefined - // - means the emit state.affectedFilesPendingEmit was undefined before adding current affected files - // so start from 0 as array would be affectedFilesPendingEmit - // else, continue to iterate from existing index, the current set is appended to existing files - if (state.affectedFilesPendingEmitIndex === undefined) { - state.affectedFilesPendingEmitIndex = 0; - } + const existingKind = state.affectedFilesPendingEmit?.get(affectedFilePendingEmit) || BuilderFileEmit.None; + (state.affectedFilesPendingEmit ??= new Map()).set(affectedFilePendingEmit, existingKind | kind); } export function toBuilderStateFileInfo(fileInfo: ProgramBuildInfoFileInfo): BuilderState.FileInfo { @@ -1478,8 +1573,12 @@ namespace ts { { version: fileInfo.version, signature: fileInfo.signature === false ? undefined : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat }; } - export function toBuilderFileEmit(value: ProgramBuilderInfoFilePendingEmit): BuilderFileEmit{ - return isNumber(value) ? BuilderFileEmit.Full : BuilderFileEmit.DtsOnly; + export function toBuilderFileEmit(value: ProgramBuilderInfoFilePendingEmit, fullEmitForOptions: BuilderFileEmit): BuilderFileEmit{ + return isNumber(value) ? fullEmitForOptions : value[1] || BuilderFileEmit.Dts; + } + + export function toProgramEmitPending(value: ProgramBuildInfoBundlePendingEmit, options: CompilerOptions | undefined): BuilderFileEmit | undefined { + return !value ? getBuilderFileEmit(options || {}) : value; } export function createBuilderProgramUsingProgramBuildInfo(program: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { @@ -1496,6 +1595,8 @@ namespace ts { compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, latestChangedDtsFile, outSignature: program.outSignature, + outSignatureDtsMapDiffers: program.outSignatureDtsMapDiffers, + programEmitPending: program.pendingEmit === undefined ? undefined : toProgramEmitPending(program.pendingEmit, program.options), }; } else { @@ -1513,6 +1614,7 @@ namespace ts { if (isNumber(value)) emitSignatures!.delete(toFilePath(value)); else emitSignatures!.set(toFilePath(value[0]), value[1]); }); + const fullEmitForOptions = program.affectedFilesPendingEmit ? getBuilderFileEmit(program.options || {}) : undefined; state = { fileInfos, compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, @@ -1520,12 +1622,11 @@ namespace ts { exportedModulesMap: toManyToManyPathMap(program.exportedModulesMap), semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagnosticsPerFile, value => toFilePath(isNumber(value) ? value : value[0]), value => isNumber(value) ? emptyArray : value[1]), hasReusableDiagnostic: true, - affectedFilesPendingEmit: map(program.affectedFilesPendingEmit, value => toFilePath(isNumber(value) ? value : value[0])), - affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(isNumber(value) ? value : value[0]), toBuilderFileEmit), - affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0, + affectedFilesPendingEmit: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, value => toFilePath(isNumber(value) ? value : value[0]), value => toBuilderFileEmit(value, fullEmitForOptions!)), changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), latestChangedDtsFile, emitSignatures: emitSignatures?.size ? emitSignatures : undefined, + emitSignatureDtsMapDiffers: program.emitSignatureDtsMapDiffers && new Set(program.emitSignatureDtsMapDiffers.map(toFilePath)), }; } diff --git a/src/compiler/builderStatePublic.ts b/src/compiler/builderStatePublic.ts index 29c6b61ef36fb..0b4ad73acc4d4 100644 --- a/src/compiler/builderStatePublic.ts +++ b/src/compiler/builderStatePublic.ts @@ -9,6 +9,6 @@ namespace ts { name: string; writeByteOrderMark: boolean; text: string; - /* @internal */ buildInfo?: BuildInfo + /* @internal */ data?: WriteFileCallbackData; } } diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 3176b630e93aa..a03c83ac02a70 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -304,7 +304,7 @@ namespace ts { name: "declaration", shortName: "d", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, @@ -316,7 +316,7 @@ namespace ts { { name: "declarationMap", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, @@ -328,7 +328,7 @@ namespace ts { { name: "emitDeclarationOnly", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, @@ -340,7 +340,7 @@ namespace ts { { name: "sourceMap", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, showInSimplifiedHelpView: true, @@ -351,7 +351,7 @@ namespace ts { { name: "inlineSourceMap", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, category: Diagnostics.Emit, @@ -587,7 +587,7 @@ namespace ts { { name: "composite", type: "boolean", - affectsEmit: true, + // Not setting affectsEmit because we calculate this flag might not affect full emit affectsMultiFileEmitBuildInfo: true, affectsBundleEmitBuildInfo: true, isTSConfigOnly: true, diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 34683302b0dac..c0395bdfea0a4 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5426,6 +5426,10 @@ "category": "Message", "code": 6405 }, + "Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions": { + "category": "Message", + "code": 6406 + }, "The expected type comes from property '{0}' which is declared here on type '{1}'": { "category": "Message", diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 938e1f7be0d68..627dc04da8c08 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -838,7 +838,7 @@ namespace ts { newBuildInfo.bundle!.dts!.sources = dts.sources; } newBuildInfo.bundle!.sourceFiles = sourceFiles; - outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark, buildInfo: newBuildInfo }); + outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark, data: { buildInfo: newBuildInfo } }); return; case declarationFilePath: if (declarationText === text) return; diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index 691bbc6547b2a..ff2bd1b84fe76 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -20,6 +20,7 @@ namespace ts { OutOfDateWithSelf, OutOfDateWithUpstream, OutOfDateBuildInfo, + OutOfDateOptions, UpstreamOutOfDate, UpstreamBlocked, ComputingUpstream, @@ -116,7 +117,7 @@ namespace ts { * Buildinfo indicates that build is out of date */ export interface OutOfDateBuildInfo { - type: UpToDateStatusType.OutOfDateBuildInfo, + type: UpToDateStatusType.OutOfDateBuildInfo | UpToDateStatusType.OutOfDateOptions, buildInfoFile: string; } diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 3293fafe197b0..a9797ec68530a 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -968,7 +968,7 @@ namespace ts { reportDeclarationDiagnostics, /*write*/ undefined, /*reportSummary*/ undefined, - (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => outputFiles.push({ name, text, writeByteOrderMark, buildInfo: data?.buildInfo }), + (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => outputFiles.push({ name, text, writeByteOrderMark, data }), cancellationToken, /*emitOnlyDts*/ false, customTransformers || state.host.getCustomTransformers?.(project) @@ -1000,12 +1000,15 @@ namespace ts { const isIncremental = isIncrementalCompilation(options); let outputTimeStampMap: ESMap | undefined; let now: Date | undefined; - outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { + outputFiles.forEach(({ name, text, writeByteOrderMark, data }) => { const path = toPath(state, name); emittedOutputs.set(toPath(state, name), name); - if (buildInfo) setBuildInfo(state, buildInfo, projectPath, options, resultFlags); + if (data?.buildInfo) setBuildInfo(state, data.buildInfo, projectPath, options, resultFlags); + const modifiedTime = data?.differsOnlyInMap ? ts.getModifiedTime(state.host, name) : undefined; writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); - if (!isIncremental && state.watch) { + // Revert the timestamp for the d.ts that is same + if (data?.differsOnlyInMap) state.host.setModifiedTime(name, modifiedTime!); + else if (!isIncremental && state.watch) { (outputTimeStampMap ||= getOutputTimeStampMap(state, projectPath)!).set(path, now ||= getCurrentTime(state.host)); } }); @@ -1122,13 +1125,13 @@ namespace ts { const emittedOutputs = new Map(); let resultFlags = BuildResultFlags.DeclarationOutputUnchanged; const existingBuildInfo = state.buildInfoCache.get(projectPath)!.buildInfo || undefined; - outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => { + outputFiles.forEach(({ name, text, writeByteOrderMark, data }) => { emittedOutputs.set(toPath(state, name), name); - if (buildInfo) { - if ((buildInfo.program as ProgramBundleEmitBuildInfo)?.outSignature !== (existingBuildInfo?.program as ProgramBundleEmitBuildInfo)?.outSignature) { + if (data?.buildInfo) { + if ((data.buildInfo.program as ProgramBundleEmitBuildInfo)?.outSignature !== (existingBuildInfo?.program as ProgramBundleEmitBuildInfo)?.outSignature) { resultFlags &= ~BuildResultFlags.DeclarationOutputUnchanged; } - setBuildInfo(state, buildInfo, projectPath, config.options, resultFlags); + setBuildInfo(state, data.buildInfo, projectPath, config.options, resultFlags); } writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark); }); @@ -1629,6 +1632,13 @@ namespace ts { buildInfoFile: buildInfoPath }; } + + if (!project.options.noEmit && getPendingEmitKind(project.options, buildInfo.program.options || {})) { + return { + type: UpToDateStatusType.OutOfDateOptions, + buildInfoFile: buildInfoPath + }; + } buildInfoProgram = buildInfo.program; } @@ -2397,6 +2407,13 @@ namespace ts { relName(state, configFileName), relName(state, status.buildInfoFile) ); + case UpToDateStatusType.OutOfDateOptions: + return reportStatus( + state, + Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions, + relName(state, configFileName), + relName(state, status.buildInfoFile) + ); case UpToDateStatusType.UpToDate: if (status.newestInputFileTime !== undefined) { return reportStatus( diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 2c47848c47630..1267818ee0157 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4261,6 +4261,7 @@ namespace ts { /*@internal*/ sourceMapUrlPos?: number; /*@internal*/ buildInfo?: BuildInfo; /*@internal*/ diagnostics?: readonly DiagnosticWithLocation[]; + /*@internal*/ differsOnlyInMap?: true; } export type WriteFileCallback = ( fileName: string, diff --git a/src/testRunner/unittests/tsbuild/configFileErrors.ts b/src/testRunner/unittests/tsbuild/configFileErrors.ts index 46205c31b4b34..1a9002a9910d8 100644 --- a/src/testRunner/unittests/tsbuild/configFileErrors.ts +++ b/src/testRunner/unittests/tsbuild/configFileErrors.ts @@ -9,13 +9,6 @@ namespace ts { }); describe("unittests:: tsbuild:: configFileErrors:: reports syntax errors in config file", () => { - function discrepancyExplanation() { - return [ - "During incremental build, tsbuildinfo is not emitted, so declaration option is not present", - "Clean build has declaration option in tsbuildinfo", - ]; - } - verifyTscWithEdits({ scenario: "configFileErrors", subScenario: "reports syntax errors in config file", @@ -39,14 +32,16 @@ namespace ts { modifyFs: fs => replaceText(fs, "/src/tsconfig.json", ",", `, "declaration": true,`), subScenario: "reports syntax errors after change to config file", - discrepancyExplanation + discrepancyExplanation: () => [ + "During incremental build, tsbuildinfo is not emitted, so declaration option is not present", + "Clean build has declaration option in tsbuildinfo", + ], }, { modifyFs: fs => appendText(fs, "/src/a.ts", "export function fooBar() { }"), subScenario: "reports syntax errors after change to ts file", - discrepancyExplanation, }, - { ...noChangeRun, discrepancyExplanation }, + noChangeRun, { modifyFs: fs => fs.writeFileSync( "/src/tsconfig.json", diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index d8e60949f2bc3..9914195b31523 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -198,7 +198,8 @@ interface Symbol { } type ReadableProgramBuildInfoDiagnostic = string | [string, readonly ReusableDiagnostic[]]; - type ReadableProgramBuilderInfoFilePendingEmit = [original: string | [string], emitKind: "DtsOnly" | "Full"]; + type ReadableBuilderFileEmit = string & { __readableBuilderFileEmit: any; }; + type ReadableProgramBuilderInfoFilePendingEmit = [original: string | [string], emitKind: ReadableBuilderFileEmit]; type ReadableProgramBuildInfoEmitSignature = string | [string, string]; type ReadableProgramBuildInfoFileInfo = Omit & { impliedFormat: string | undefined; @@ -207,7 +208,7 @@ interface Symbol { type ReadableProgramMultiFileEmitBuildInfo = Omit & { fileNamesList: readonly (readonly string[])[] | undefined; fileInfos: MapLike; @@ -217,9 +218,12 @@ interface Symbol { affectedFilesPendingEmit: readonly ReadableProgramBuilderInfoFilePendingEmit[] | undefined; changeFileSet: readonly string[] | undefined; emitSignatures: readonly ReadableProgramBuildInfoEmitSignature[] | undefined; + emitSignatureDtsMapDiffers: readonly string[] | undefined; }; - type ReadableProgramBundleEmitBuildInfo = Omit & { + type ReadableProgramBuildInfoBundlePendingEmit = [emitKind: ReadableBuilderFileEmit, original: ProgramBuildInfoBundlePendingEmit]; + type ReadableProgramBundleEmitBuildInfo = Omit & { fileInfos: MapLike; + pendingEmit: ReadableProgramBuildInfoBundlePendingEmit | undefined; }; type ReadableProgramBuildInfo = ReadableProgramMultiFileEmitBuildInfo | ReadableProgramBundleEmitBuildInfo; @@ -234,15 +238,23 @@ interface Symbol { if (buildInfo.program && isProgramBundleEmitBuildInfo(buildInfo.program)) { const fileInfos: ReadableProgramBundleEmitBuildInfo["fileInfos"] = {}; buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = fileInfo); + const pendingEmit = buildInfo.program.pendingEmit; program = { ...buildInfo.program, - fileInfos + fileInfos, + pendingEmit: pendingEmit === undefined ? + undefined : + [ + toReadableBuilderFileEmit(toProgramEmitPending(pendingEmit, buildInfo.program.options)), + pendingEmit + ], }; } else if (buildInfo.program) { const fileInfos: ReadableProgramMultiFileEmitBuildInfo["fileInfos"] = {}; buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); fileNamesList = buildInfo.program.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); + const fullEmitForOptions = buildInfo.program.affectedFilesPendingEmit ? getBuilderFileEmit(buildInfo.program.options || {}) : undefined; program = buildInfo.program && { fileNames: buildInfo.program.fileNames, fileNamesList, @@ -255,13 +267,14 @@ interface Symbol { toFileName(d) : [toFileName(d[0]), d[1]] ), - affectedFilesPendingEmit: buildInfo.program.affectedFilesPendingEmit?.map(toReadableProgramBuilderInfoFilePendingEmit), + affectedFilesPendingEmit: buildInfo.program.affectedFilesPendingEmit?.map(value => toReadableProgramBuilderInfoFilePendingEmit(value, fullEmitForOptions!)), changeFileSet: buildInfo.program.changeFileSet?.map(toFileName), emitSignatures: buildInfo.program.emitSignatures?.map(s => isNumber(s) ? toFileName(s) : [toFileName(s[0]), s[1]] ), + emitSignatureDtsMapDiffers: buildInfo.program.emitSignatureDtsMapDiffers?.map(toFileName), latestChangedDtsFile: buildInfo.program.latestChangedDtsFile, }; } @@ -316,15 +329,27 @@ interface Symbol { return result; } - function toReadableProgramBuilderInfoFilePendingEmit(value: ProgramBuilderInfoFilePendingEmit): ReadableProgramBuilderInfoFilePendingEmit { - const emitKind = toBuilderFileEmit(value); + function toReadableProgramBuilderInfoFilePendingEmit(value: ProgramBuilderInfoFilePendingEmit, fullEmitForOptions: BuilderFileEmit): ReadableProgramBuilderInfoFilePendingEmit { return [ isNumber(value) ? toFileName(value) : [toFileName(value[0])], - emitKind === BuilderFileEmit.DtsOnly ? "DtsOnly" : - emitKind === BuilderFileEmit.Full ? "Full" : - Debug.assertNever(emitKind), + toReadableBuilderFileEmit(toBuilderFileEmit(value, fullEmitForOptions)), ]; } + + function toReadableBuilderFileEmit(emit: BuilderFileEmit | undefined): ReadableBuilderFileEmit { + let result = ""; + if (emit) { + if (emit & BuilderFileEmit.Js) addFlags("Js"); + if (emit & BuilderFileEmit.JsMap) addFlags("JsMap"); + if (emit & BuilderFileEmit.JsInlineMap) addFlags("JsInlineMap"); + if (emit & BuilderFileEmit.Dts) addFlags("Dts"); + if (emit & BuilderFileEmit.DtsMap) addFlags("DtsMap"); + } + return (result || "None") as ReadableBuilderFileEmit; + function addFlags(flag: string) { + result = result ? `${result} | ${flag}` : flag; + } + } } export function toPathWithSystem(sys: System, fileName: string): Path { diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js index 91a1a7db40d03..512da73449510 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js @@ -1,173 +1,3 @@ -0:: with sourceMap -*** Needs explanation -File: /src/project/a.js.map -CleanBuild: -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -//# sourceMappingURL=a.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; - -File: /src/project/b.js.map -CleanBuild: -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=b.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js.map -CleanBuild: -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=c.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js.map -CleanBuild: -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=d.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "sourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only @@ -259,145 +89,6 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -4:: with declaration and declarationMap -*** Needs explanation -File: /src/project/a.d.ts.map -CleanBuild: -{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: -export declare const a = 10; - -File: /src/project/b.d.ts.map -CleanBuild: -{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: -export declare const b = 10; - -File: /src/project/c.d.ts.map -CleanBuild: -{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: -export declare const c = 10; - -File: /src/project/d.d.ts.map -CleanBuild: -{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: -export declare const d = 10; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only @@ -538,326 +229,6 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -10:: with inlineSourceMap -*** Needs explanation -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "inlineSourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -11:: with sourceMap -*** Needs explanation -File: /src/project/a.js.map -CleanBuild: -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} -IncrementalBuild: - -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=a.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; - -File: /src/project/b.js.map -CleanBuild: -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=b.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js.map -CleanBuild: -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=c.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js.map -CleanBuild: -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=d.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "sourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "program": { "fileInfos": { diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js index 04eafdb70180c..264f783db976d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js @@ -1,169 +1,6 @@ 0:: with sourceMap Incremental build did not emit and has .ts as signature so exports has all imported modules/referenced files Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed -File: /src/project/a.js.map -CleanBuild: -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -//# sourceMappingURL=a.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; - -File: /src/project/b.js.map -CleanBuild: -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=b.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js.map -CleanBuild: -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=c.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js.map -CleanBuild: -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=d.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "sourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt Incremental: { "./c.ts": [ @@ -187,76 +24,11 @@ Incremental: { ] } Clean: {} -2:: with declaration, emit Dts and should not emit js -*** Needs explanation -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; - -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; - -IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; - -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; - -IncrementalBuild: - +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "declaration": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "program": { "fileInfos": { @@ -296,64 +68,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -3:: with declaration and declarationMap -*** Needs explanation -File: /src/project/a.d.ts.map -CleanBuild: -{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: - -File: /src/project/b.d.ts.map -CleanBuild: -{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: - -File: /src/project/c.d.ts.map -CleanBuild: -{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: - -File: /src/project/d.d.ts.map -CleanBuild: -{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -396,7 +111,11 @@ CleanBuild: }, "version": "FakeTSVersion" } -IncrementalBuild: +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: { "program": { "fileInfos": { @@ -405,7 +124,7 @@ IncrementalBuild: "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;" @@ -436,86 +155,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -4:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -5:: local change -*** Needs explanation -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -6:: with declaration and declarationMap -*** Needs explanation -File: /src/project/a.d.ts.map -CleanBuild: -{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: - -File: /src/project/b.d.ts.map -CleanBuild: -{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: - -File: /src/project/c.d.ts.map -CleanBuild: -{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: - -File: /src/project/d.d.ts.map -CleanBuild: -{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -557,668 +197,4 @@ CleanBuild: ] }, "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -7:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -8:: with inlineSourceMap -*** Needs explanation -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "inlineSourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -9:: with sourceMap -*** Needs explanation -File: /src/project/a.js.map -CleanBuild: -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} -IncrementalBuild: - -File: /src/project/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; -//# sourceMappingURL=a.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 100; - -File: /src/project/b.js.map -CleanBuild: -{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -IncrementalBuild: - -File: /src/project/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; -//# sourceMappingURL=b.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -File: /src/project/c.js.map -CleanBuild: -{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; -//# sourceMappingURL=c.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -File: /src/project/d.js.map -CleanBuild: -{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/project/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; -//# sourceMappingURL=d.js.map -IncrementalBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "sourceMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -10:: emit js files -*** Needs explanation -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -11:: with declaration and declarationMap -*** Needs explanation -File: /src/project/a.d.ts.map -CleanBuild: -{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: - -File: /src/project/b.d.ts.map -CleanBuild: -{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: - -File: /src/project/c.d.ts.map -CleanBuild: -{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: - -File: /src/project/d.d.ts.map -CleanBuild: -{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "declaration": true, - "declarationMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} -12:: with declaration and declarationMap, should not re-emit -*** Needs explanation -File: /src/project/a.d.ts.map -CleanBuild: -{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: - -File: /src/project/b.d.ts.map -CleanBuild: -{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -IncrementalBuild: - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: - -File: /src/project/c.d.ts.map -CleanBuild: -{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: - -File: /src/project/d.d.ts.map -CleanBuild: -{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "declaration": true, - "declarationMap": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "options": {} - }, - "version": "FakeTSVersion" -} -Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt -Incremental: { - "./d.ts": [ - "./b.ts" - ] -} -Clean: {} \ No newline at end of file +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index ed5feeeacffcd..3d409baa215cb 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,909 +1,8 @@ -0:: with sourceMap -*** Needs explanation -File: /src/outfile.js.map -CleanBuild: -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=outFile.js.map -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", - "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js", - "sourceMap": true - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -2:: with declaration, emit Dts and should not emit js -*** Needs explanation -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -3:: with declaration and declarationMap -*** Needs explanation -File: /src/outfile.d.ts.map -CleanBuild: -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -4:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Clean build does not have dts bundle section -Incremental build contains the dts build section from before -*** Supplied discrepancy explanation but didnt file any difference -6:: with declaration and declarationMap -*** Needs explanation -File: /src/outfile.d.ts.map -CleanBuild: -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -7:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Clean build does not have dts bundle section -Incremental build contains the dts build section from before -*** Supplied discrepancy explanation but didnt file any difference -8:: with inlineSourceMap -*** Needs explanation -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "inlineSourceMap": true, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -9:: with sourceMap -*** Needs explanation -File: /src/outfile.js.map -CleanBuild: -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=outFile.js.map -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - +4:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -919,52 +18,16 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", - "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js", - "sourceMap": true - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, + "end": 746, "kind": "text" } ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, "program": { "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -975,32 +38,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -11:: with declaration and declarationMap -*** Needs explanation -File: /src/outfile.d.ts.map -CleanBuild: -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -1014,11 +52,11 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 747, + "end": 746, "kind": "text" } ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" }, "dts": { "sections": [ @@ -1034,7 +72,7 @@ CleanBuild: }, "program": { "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -1047,52 +85,18 @@ CleanBuild: }, "version": "FakeTSVersion" } -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} File: /src/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-747) +text: (0-746) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -1114,36 +118,18 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = b_1.b; }); -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== IncrementalBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-747) +text: (0-746) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -1166,15 +152,10 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }); ====================================================================== -12:: with declaration and declarationMap, should not re-emit -*** Needs explanation -File: /src/outfile.d.ts.map -CleanBuild: -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/outfile.d.ts -CleanBuild: +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) declare module "a" { export const a = 10; } @@ -1187,9 +168,13 @@ declare module "c" { declare module "d" { export const d = 10; } -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: +====================================================================== +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -1210,17 +195,6 @@ CleanBuild: } ], "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { @@ -1231,8 +205,6 @@ CleanBuild: "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { - "declaration": true, - "declarationMap": true, "outFile": "./outFile.js" } }, @@ -1257,6 +229,17 @@ IncrementalBuild: } ], "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { @@ -1267,6 +250,8 @@ IncrementalBuild: "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "declaration": true, + "declarationMap": true, "outFile": "./outFile.js" } }, @@ -1305,24 +290,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = b_1.b; }); -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== IncrementalBuild: ====================================================================== @@ -1356,4 +323,22 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = b_1.b; }); +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + ====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index 8402e5ebb4073..fe7505a16ea4d 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -175,92 +175,120 @@ Output:: [12:00:20 AM] Projects in this build: * src/project/tsconfig.json -[12:00:21 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:21 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -exitCode:: ExitStatus.Success - - - - -Change:: should re-emit only js so they dont contain sourcemap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:22 AM] Projects in this build: - * src/project/tsconfig.json - -[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' - -exitCode:: ExitStatus.Success - - - - -Change:: with declaration, emit Dts and should not emit js -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose --declaration -[12:00:24 AM] Projects in this build: - * src/project/tsconfig.json - -[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:22 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +No cached semantic diagnostics in the builder:: - - -Change:: with declaration and declarationMap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:26 AM] Projects in this build: - * src/project/tsconfig.json - -[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' - -exitCode:: ExitStatus.Success +No shapes updated in the builder:: +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:28 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} -[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, + "version": "FakeTSVersion", + "size": 1888 +} -exitCode:: ExitStatus.Success - - -Change:: local change +Change:: should re-emit only js so they dont contain sourcemap Input:: -//// [/src/project/a.ts] -export const a = 10;const aLocal = 100; - Output:: /lib/tsc --b /src/project --verbose -[12:00:31 AM] Projects in this build: +[12:00:29 AM] Projects in this build: * src/project/tsconfig.json -[12:00:32 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:30 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:33 AM] Building project '/src/project/tsconfig.json'... +[12:00:31 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -284,7 +312,7 @@ define("a", ["require", "exports"], function (require, exports) { exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -308,19 +336,112 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1437 +} + + + +Change:: with declaration, emit Dts and should not emit js +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration +[12:00:37 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:38 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:39 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-747) +text: (0-746) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -342,6 +463,24 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = b_1.b; }); +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + ====================================================================== //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -358,11 +497,21 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "sections": [ { "pos": 0, - "end": 747, + "end": 746, "kind": "text" } ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, "program": { @@ -373,17 +522,18 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "declaration": true, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1442 + "size": 1770 } @@ -394,78 +544,265 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:39 AM] Projects in this build: +[12:00:46 AM] Projects in this build: * src/project/tsconfig.json -[12:00:40 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:47 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:48 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +No cached semantic diagnostics in the builder:: - - -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:41 AM] Projects in this build: - * src/project/tsconfig.json - -[12:00:42 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' - -exitCode:: ExitStatus.Success +No shapes updated in the builder:: +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map +//// [/src/outFile.d.ts.map] +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -Change:: with inlineSourceMap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose --inlineSourceMap -[12:00:43 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} -[12:00:44 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 2175 +} -exitCode:: ExitStatus.Success - - -Change:: with sourceMap +Change:: no-change-run Input:: Output:: -/lib/tsc --b /src/project --verbose --sourceMap -[12:00:45 AM] Projects in this build: +/lib/tsc --b /src/project --verbose +[12:00:56 AM] Projects in this build: * src/project/tsconfig.json -[12:00:46 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:57 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success -Change:: emit js files +Change:: local change Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + Output:: /lib/tsc --b /src/project --verbose -[12:00:47 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/project/tsconfig.json -[12:00:48 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:00 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:01:01 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1442 +} + Change:: with declaration and declarationMap @@ -474,14 +811,659 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:49 AM] Projects in this build: +[12:01:07 AM] Projects in this build: * src/project/tsconfig.json -[12:00:50 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:08 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:09 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.d.ts] file written with same contents +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 2180 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:01:17 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:18 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +[12:01:19 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:20 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:21 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "inlineSourceMap": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1974 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +[12:01:27 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:28 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:29 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js", + "sourceMap": true + } + }, + "version": "FakeTSVersion", + "size": 1890 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:01:36 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:37 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:38 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1442 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +[12:01:44 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:45 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:46 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] file written with same contents +//// [/src/outFile.d.ts.map] file written with same contents +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 2180 +} + Change:: with declaration and declarationMap, should not re-emit @@ -490,10 +1472,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:51 AM] Projects in this build: +[12:01:54 AM] Projects in this build: * src/project/tsconfig.json -[12:00:52 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:55 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js index 5d4af89fd7e67..1b35e24c0d675 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js @@ -185,92 +185,163 @@ Output:: [12:00:22 AM] Projects in this build: * src/project/tsconfig.json -[12:00:23 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:23 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -exitCode:: ExitStatus.Success - - - - -Change:: should re-emit only js so they dont contain sourcemap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:24 AM] Projects in this build: - * src/project/tsconfig.json - -[12:00:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:24 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +Semantic diagnostics in builder refreshed for:: - - -Change:: with declaration, emit Dts and should not emit js -Input:: +No shapes updated in the builder:: -Output:: -/lib/tsc --b /src/project --verbose --declaration -[12:00:26 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map -[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -exitCode:: ExitStatus.Success - - +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map +//// [/src/project/b.js.map] +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} -Change:: with declaration and declarationMap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:28 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map -[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +//// [/src/project/c.js.map] +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -exitCode:: ExitStatus.Success - - +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map +//// [/src/project/d.js.map] +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:30 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} -[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 989 +} -exitCode:: ExitStatus.Success - - -Change:: local change +Change:: should re-emit only js so they dont contain sourcemap Input:: -//// [/src/project/a.ts] -export const a = 10;const aLocal = 100; - Output:: /lib/tsc --b /src/project --verbose -[12:00:33 AM] Projects in this build: +[12:00:36 AM] Projects in this build: * src/project/tsconfig.json -[12:00:34 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:37 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:00:35 AM] Building project '/src/project/tsconfig.json'... +[12:00:38 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -284,12 +355,8 @@ Program files:: /src/project/d.ts Semantic diagnostics in builder refreshed for:: -/src/project/a.ts -/src/project/c.ts -Shape signatures in builder refreshed for:: -/src/project/a.ts (computed .d.ts) -/src/project/c.ts (computed .d.ts) +No shapes updated in the builder:: //// [/src/project/a.js] @@ -297,12 +364,35 @@ Shape signatures in builder refreshed for:: exports.__esModule = true; exports.a = void 0; exports.a = 10; -var aLocal = 100; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; -//// [/src/project/c.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},"-6189287562-export const b = 10;const bLocal = 10;",{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},"-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -333,24 +423,16 @@ var aLocal = 100; "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", @@ -366,6 +448,9 @@ var aLocal = 100; ] }, "exportedModulesMap": { + "./c.ts": [ + "./a.ts" + ], "./d.ts": [ "./b.ts" ] @@ -379,89 +464,1037 @@ var aLocal = 100; ] }, "version": "FakeTSVersion", - "size": 1097 + "size": 960 } -Change:: with declaration and declarationMap +Change:: with declaration, emit Dts and should not emit js Input:: Output:: -/lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:41 AM] Projects in this build: +/lib/tsc --b /src/project --verbose --declaration +[12:00:46 AM] Projects in this build: * src/project/tsconfig.json -[12:00:42 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' - -exitCode:: ExitStatus.Success - - - - -Change:: no-change-run -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:43 AM] Projects in this build: - * src/project/tsconfig.json +[12:00:47 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:00:44 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:48 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +Semantic diagnostics in builder refreshed for:: - - -Change:: with inlineSourceMap -Input:: +No shapes updated in the builder:: -Output:: -/lib/tsc --b /src/project --verbose --inlineSourceMap -[12:00:45 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/a.d.ts] +export declare const a = 10; -[12:00:46 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.Success - - +//// [/src/project/b.d.ts] +export declare const b = 10; -Change:: with sourceMap -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose --sourceMap -[12:00:47 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/c.d.ts] +export declare const c = 10; -[12:00:48 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' -exitCode:: ExitStatus.Success - - +//// [/src/project/d.d.ts] +export declare const d = 10; -Change:: emit js files -Input:: - - -Output:: -/lib/tsc --b /src/project --verbose -[12:00:49 AM] Projects in this build: - * src/project/tsconfig.json +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1264 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +[12:00:56 AM] Projects in this build: + * src/project/tsconfig.json + +[12:00:57 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:58 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map + +//// [/src/project/a.d.ts.map] +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/b.d.ts] +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map + +//// [/src/project/b.d.ts.map] +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/c.d.ts] +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map + +//// [/src/project/c.d.ts.map] +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/d.d.ts] +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map + +//// [/src/project/d.d.ts.map] +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1286 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:01:10 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:11 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: local change +Input:: +//// [/src/project/a.ts] +export const a = 10;const aLocal = 100; + + + +Output:: +/lib/tsc --b /src/project --verbose +[12:01:13 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:14 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' + +[12:01:15 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/a.ts + +Shape signatures in builder refreshed for:: +/src/project/a.ts (computed .d.ts) + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1234 +} + + + +Change:: with declaration and declarationMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --declaration --declarationMap +[12:01:20 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:21 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:22 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.d.ts] file written with same contents +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/b.d.ts] file written with same contents +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/c.d.ts] file written with same contents +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/d.d.ts] file written with same contents +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1287 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:01:34 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:35 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' + +exitCode:: ExitStatus.Success + + + + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --inlineSourceMap +[12:01:36 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:37 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:38 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1269 +} + + + +Change:: with sourceMap +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose --sourceMap +[12:01:46 AM] Projects in this build: + * src/project/tsconfig.json + +[12:01:47 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:48 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1263 +} + + + +Change:: emit js files +Input:: + + +Output:: +/lib/tsc --b /src/project --verbose +[12:02:00 AM] Projects in this build: + * src/project/tsconfig.json -[12:00:50 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:02:01 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:02:02 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1234 +} + Change:: with declaration and declarationMap @@ -470,14 +1503,126 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:51 AM] Projects in this build: +[12:02:10 AM] Projects in this build: * src/project/tsconfig.json -[12:00:52 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:02:11 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:02:12 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +//// [/src/project/a.d.ts] file written with same contents +//// [/src/project/a.d.ts.map] file written with same contents +//// [/src/project/b.d.ts] file written with same contents +//// [/src/project/b.d.ts.map] file written with same contents +//// [/src/project/c.d.ts] file written with same contents +//// [/src/project/c.d.ts.map] file written with same contents +//// [/src/project/d.d.ts] file written with same contents +//// [/src/project/d.d.ts.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1287 +} + Change:: with declaration and declarationMap, should not re-emit @@ -486,10 +1631,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:53 AM] Projects in this build: +[12:02:24 AM] Projects in this build: * src/project/tsconfig.json -[12:00:54 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:02:25 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 12b9be4b19430..2c993b83c163a 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -1,67 +1,6 @@ -0:: with sourceMap -*** Needs explanation -File: /src/outfile.js.map -CleanBuild: -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=outFile.js.map -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - +2:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -81,8 +20,7 @@ CleanBuild: "kind": "text" } ], - "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", - "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" }, "dts": { "sections": [ @@ -104,8 +42,8 @@ CleanBuild: }, "options": { "composite": true, - "outFile": "./outFile.js", - "sourceMap": true + "declaration": true, + "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "FakeFileName" @@ -159,9 +97,11 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -2:: with declaration should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and declaration +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -173,16 +113,6 @@ CleanBuild: "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -203,7 +133,7 @@ CleanBuild: }, "options": { "composite": true, - "declaration": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -258,15 +188,12 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -4:: with declaration and declarationMap -*** Needs explanation -File: /src/outfile.d.ts.map -CleanBuild: -{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -IncrementalBuild: - -File: /src/outfile.d.ts +File: /src/outfile.tsbuildinfo.baseline.txt CleanBuild: +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) declare module "a" { export const a = 10; } @@ -279,8 +206,45 @@ declare module "c" { declare module "d" { export const d = 10; } -//# sourceMappingURL=outFile.d.ts.map + +====================================================================== IncrementalBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) declare module "a" { export const a = 10; } @@ -294,6 +258,10 @@ declare module "d" { export const d = 10; } +====================================================================== +9:: with declaration should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and declaration +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -309,105 +277,12 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, + "end": 747, "kind": "text" } ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -6:: with emitDeclarationOnly should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -Clean build info does not have js section because its fresh build -Incremental build info has js section from old build -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], "dts": { "sections": [ { @@ -421,14 +296,14 @@ CleanBuild: }, "program": { "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { "composite": true, - "emitDeclarationOnly": true, + "declaration": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -437,492 +312,6 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -9:: with declaration should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and declaration -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -10:: with inlineSourceMap -*** Needs explanation -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "inlineSourceMap": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -11:: with sourceMap -*** Needs explanation -File: /src/outfile.js.map -CleanBuild: -{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} -IncrementalBuild: - -File: /src/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); -//# sourceMappingURL=outFile.js.map -IncrementalBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", - "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js", - "sourceMap": true - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "bundle": { "commonSourceDirectory": "./project", diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js index ecc24ee1e220b..75cc59104d6cb 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -221,11 +221,119 @@ Output:: [12:00:21 AM] Projects in this build: * src/project/tsconfig.json -[12:00:22 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:22 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:23 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js", + "sourceMap": true + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2526 +} + Change:: should re-emit only js so they dont contain sourcemap @@ -234,14 +342,117 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:23 AM] Projects in this build: +[12:00:30 AM] Projects in this build: * src/project/tsconfig.json -[12:00:24 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:31 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:32 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: + + +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} + Change:: with declaration should not emit anything @@ -250,10 +461,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -[12:00:25 AM] Projects in this build: +[12:00:38 AM] Projects in this build: * src/project/tsconfig.json -[12:00:26 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:39 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -266,10 +477,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:27 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/project/tsconfig.json -[12:00:28 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:41 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -282,14 +493,110 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:29 AM] Projects in this build: +[12:00:42 AM] Projects in this build: * src/project/tsconfig.json -[12:00:30 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:43 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:44 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map + +//// [/src/outFile.d.ts.map] +{"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2499 +} + Change:: should re-emit only dts so they dont contain sourcemap @@ -298,14 +605,104 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:31 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/project/tsconfig.json -[12:00:32 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:54 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:55 AM] Building project '/src/project/tsconfig.json'... + +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + +//// [/src/outFile.js] file written with same contents +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2075 +} -exitCode:: ExitStatus.Success - - Change:: with emitDeclarationOnly should not emit anything @@ -314,10 +711,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --emitDeclarationOnly -[12:00:33 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/project/tsconfig.json -[12:00:34 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:04 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -330,10 +727,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:35 AM] Projects in this build: +[12:01:05 AM] Projects in this build: * src/project/tsconfig.json -[12:00:36 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:06 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -349,12 +746,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:38 AM] Projects in this build: +[12:01:08 AM] Projects in this build: * src/project/tsconfig.json -[12:00:39 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:01:09 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:40 AM] Building project '/src/project/tsconfig.json'... +[12:01:10 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -519,10 +916,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -[12:00:46 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/project/tsconfig.json -[12:00:47 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:17 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -535,14 +932,118 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -[12:00:48 AM] Projects in this build: +[12:01:18 AM] Projects in this build: * src/project/tsconfig.json -[12:00:49 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:19 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:20 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "inlineSourceMap": true, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2612 +} + Change:: with sourceMap @@ -551,11 +1052,119 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -[12:00:50 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/project/tsconfig.json -[12:00:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:27 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:28 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"outFile":"/src/outFile.js","module":2,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); +//# sourceMappingURL=outFile.js.map + +//// [/src/outFile.js.map] +{"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents +//// [/src/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map", + "mapHash": "-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "fileInfos": { + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js", + "sourceMap": true + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2528 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options.js b/tests/baselines/reference/tsbuild/commandLine/different-options.js index 3c259ffe8b297..073cc9c73cb92 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options.js @@ -214,11 +214,160 @@ Output:: [12:00:26 AM] Projects in this build: * src/project/tsconfig.json -[12:00:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:27 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:28 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] +{"version":3,"file":"b.js","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC"} + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] +{"version":3,"file":"c.js","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] +{"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1313 +} + Change:: should re-emit only js so they dont contain sourcemap @@ -227,14 +376,150 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:28 AM] Projects in this build: +[12:00:40 AM] Projects in this build: * src/project/tsconfig.json -[12:00:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:41 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:42 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; + + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + Change:: with declaration should not emit anything @@ -243,10 +528,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -[12:00:30 AM] Projects in this build: +[12:00:50 AM] Projects in this build: * src/project/tsconfig.json -[12:00:31 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -259,10 +544,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:32 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project/tsconfig.json -[12:00:33 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:53 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -275,14 +560,148 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:34 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/project/tsconfig.json -[12:00:35 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:00:55 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:56 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"declaration":true,"declarationMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +No shapes updated in the builder:: + +//// [/src/project/a.d.ts] +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map + +//// [/src/project/a.d.ts.map] +{"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/b.d.ts] +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map + +//// [/src/project/b.d.ts.map] +{"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} + +//// [/src/project/c.d.ts] +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map + +//// [/src/project/c.d.ts.map] +{"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/d.d.ts] +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map + +//// [/src/project/d.d.ts.map] +{"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1337 +} + Change:: should re-emit only dts so they dont contain sourcemap @@ -291,14 +710,134 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:36 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/project/tsconfig.json -[12:00:37 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:13 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:14 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +//// [/src/project/a.d.ts] +export declare const a = 10; + + +//// [/src/project/b.d.ts] +export declare const b = 10; + + +//// [/src/project/c.d.ts] +export declare const c = 10; + + +//// [/src/project/d.d.ts] +export declare const d = 10; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-18487752940-export const a = 10;const aLocal = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1296 +} + Change:: with emitDeclarationOnly should not emit anything @@ -307,10 +846,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --emitDeclarationOnly -[12:00:38 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/project/tsconfig.json -[12:00:39 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:27 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -323,10 +862,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:40 AM] Projects in this build: +[12:01:28 AM] Projects in this build: * src/project/tsconfig.json -[12:00:41 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:29 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -342,12 +881,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:43 AM] Projects in this build: +[12:01:31 AM] Projects in this build: * src/project/tsconfig.json -[12:00:44 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' +[12:01:32 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/project/tsconfig.tsbuildinfo' is older than input 'src/project/a.ts' -[12:00:45 AM] Building project '/src/project/tsconfig.json'... +[12:01:33 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -472,10 +1011,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -[12:00:50 AM] Projects in this build: +[12:01:38 AM] Projects in this build: * src/project/tsconfig.json -[12:00:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:39 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -488,14 +1027,151 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -[12:00:52 AM] Projects in this build: +[12:01:40 AM] Projects in this build: * src/project/tsconfig.json -[12:00:53 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:41 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:42 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDIn0= + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDIn0= + +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "inlineSourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1320 +} + Change:: with sourceMap @@ -504,11 +1180,154 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -[12:00:54 AM] Projects in this build: +[12:01:50 AM] Projects in this build: * src/project/tsconfig.json -[12:00:55 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/project/tsconfig.tsbuildinfo' +[12:01:51 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/project/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:52 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"composite":true,"sourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +Semantic diagnostics in builder refreshed for:: +No shapes updated in the builder:: + +//// [/src/project/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 100; +//# sourceMappingURL=a.js.map + +//// [/src/project/a.js.map] +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";;;AAAa,QAAA,CAAC,GAAG,EAAE,CAAC;AAAA,IAAM,MAAM,GAAG,GAAG,CAAC"} + +//// [/src/project/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; +//# sourceMappingURL=b.js.map + +//// [/src/project/b.js.map] file written with same contents +//// [/src/project/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; +//# sourceMappingURL=c.js.map + +//// [/src/project/c.js.map] file written with same contents +//// [/src/project/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; +//# sourceMappingURL=d.js.map + +//// [/src/project/d.js.map] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-17390360476-export const a = 10;const aLocal = 100;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "sourceMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1314 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js index c764688285cd7..64e7051b8c10a 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -1,308 +1,6 @@ -2:: emit js files -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/project2/src/e.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - -IncrementalBuild: - -File: /src/project2/src/f.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - -IncrementalBuild: - -File: /src/project2/src/g.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference -4:: no change run with js emit -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -327,7 +25,7 @@ CleanBuild: }, "options": { "composite": true, - "emitDeclarationOnly": false + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -371,7 +69,7 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true + "emitDeclarationOnly": false }, "referencedMap": { "./c.ts": [ @@ -392,85 +90,8 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -File: /src/project2/src/e.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - -IncrementalBuild: - -File: /src/project2/src/f.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - -IncrementalBuild: - -File: /src/project2/src/g.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "program": { "fileInfos": { @@ -518,39 +139,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -5:: js emit with change -*** Needs explanation -File: /src/project2/src/e.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - -IncrementalBuild: - -File: /src/project2/src/f.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - -IncrementalBuild: - -File: /src/project2/src/g.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -597,52 +186,4 @@ CleanBuild: "latestChangedDtsFile": "FakeFileName" }, "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" } \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js index 4a89a944bb04d..daf647bed909f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -1,275 +1,6 @@ -2:: emit js files -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" - }, - "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;" - }, - "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;" - }, - "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion" -} -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} 3:: no-change-run Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference -4:: no change run with js emit -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -294,7 +25,7 @@ CleanBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": false + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -337,7 +68,7 @@ IncrementalBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": true + "emitDeclarationOnly": false }, "referencedMap": { "./c.ts": [ @@ -359,53 +90,6 @@ IncrementalBuild: } TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "program": { "fileInfos": { @@ -452,56 +136,6 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -5:: js emit with change -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": false - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} IncrementalBuild: { "program": { @@ -528,7 +162,7 @@ IncrementalBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": true + "emitDeclarationOnly": false }, "referencedMap": { "./f.ts": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index b98f60897e2bd..a7c67aca8bce0 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -1,37 +1,6 @@ -2:: emit js files -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -IncrementalBuild: - +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -43,16 +12,6 @@ CleanBuild: "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 764, - "kind": "text" - } - ], - "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -73,7 +32,7 @@ CleanBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": false, + "emitDeclarationOnly": true, "outFile": "./outFile.js" } }, @@ -89,6 +48,16 @@ IncrementalBuild: "./src/c.ts", "./src/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -109,7 +78,7 @@ IncrementalBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" } }, @@ -118,39 +87,6 @@ IncrementalBuild: File: /src/project1/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== -File:: /src/project1/outFile.js ----------------------------------------------------------------------- -text: (0-764) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== File:: /src/project1/outFile.d.ts ---------------------------------------------------------------------- text: (0-204) @@ -170,147 +106,6 @@ declare module "d" { ====================================================================== IncrementalBuild: ====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -3:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference -4:: no change run with js emit -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/a.ts", - "./src/b.ts", - "./src/c.ts", - "./src/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 764, - "kind": "text" - } - ], - "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "emitDeclarationOnly": false, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/a.ts", - "./src/b.ts", - "./src/c.ts", - "./src/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/project1/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== File:: /src/project1/outFile.js ---------------------------------------------------------------------- text: (0-764) @@ -360,23 +155,4 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index 4aece848383bc..14e20ac641d36 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -341,11 +341,13 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:45 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:45 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:46 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:47 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:00:54 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -355,7 +357,21 @@ Output:: Found 1 error. -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not @@ -371,6 +387,147 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1799 +} + Change:: no-change-run @@ -379,15 +536,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:48 AM] Projects in this build: +[12:00:55 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -421,15 +578,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:52 AM] Projects in this build: +[12:00:59 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:55 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -466,17 +623,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:57 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:58 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:00:59 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:07 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index 6d52b63236146..0cabd48a48d26 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -514,11 +514,13 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:00:49 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:00:50 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:00:50 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:51 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:02 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted + +[12:01:03 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -528,7 +530,21 @@ Output:: Found 1 error. -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] Program options: {"incremental":true,"declaration":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not @@ -545,6 +561,226 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1309 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3762229137-export declare const a = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-3762229137-export declare const a = 10;\r\n", + "signature": false + }, + "version": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": false + }, + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1274 +} + Change:: no-change-run @@ -553,15 +789,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:52 AM] Projects in this build: +[12:01:07 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:00:55 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:10 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -596,15 +832,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:56 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:57 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:58 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:00:59 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -642,17 +878,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:01:01 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:17 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:18 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:15 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:24 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:16 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:25 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -695,16 +931,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - - //// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/b.js] "use strict"; @@ -715,24 +941,6 @@ var bLocal = 10; var blocal = 10; -//// [/src/project1/src/c.d.ts] file written with same contents -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - -//// [/src/project1/src/d.d.ts] file written with same contents -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js index 44419e2c4ee51..dc906e15f1f74 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -1,37 +1,6 @@ -2:: emit js files -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -IncrementalBuild: - +3:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -43,16 +12,6 @@ CleanBuild: "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 764, - "kind": "text" - } - ], - "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -73,7 +32,7 @@ CleanBuild: }, "options": { "composite": true, - "emitDeclarationOnly": false, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -91,6 +50,16 @@ IncrementalBuild: "./src/c.ts", "./src/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -111,7 +80,7 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -122,6 +91,25 @@ IncrementalBuild: File: /src/project1/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== File:: /src/project1/outFile.js ---------------------------------------------------------------------- text: (0-764) @@ -172,48 +160,6 @@ declare module "d" { } ====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -File: /src/project2/outfile.js -CleanBuild: -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -224,16 +170,6 @@ CleanBuild: "./src/f.ts", "./src/g.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -253,7 +189,7 @@ CleanBuild: }, "options": { "composite": true, - "emitDeclarationOnly": false, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -270,6 +206,16 @@ IncrementalBuild: "./src/f.ts", "./src/g.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -289,7 +235,7 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, + "emitDeclarationOnly": false, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -300,30 +246,6 @@ IncrementalBuild: File: /src/project2/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== -File:: /src/project2/outFile.js ----------------------------------------------------------------------- -text: (0-533) -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -====================================================================== -====================================================================== File:: /src/project2/outFile.d.ts ---------------------------------------------------------------------- text: (0-153) @@ -340,530 +262,29 @@ declare module "g" { ====================================================================== IncrementalBuild: ====================================================================== -File:: /src/project2/outFile.d.ts +File:: /src/project2/outFile.js ---------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -3:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite as true but emitDeclrationOnly as false -*** Supplied discrepancy explanation but didnt file any difference -4:: no change run with js emit -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; + exports.e = void 0; + exports.e = 10; }); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { +define("f", ["require", "exports", "a"], function (require, exports, a_1) { "use strict"; exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; + exports.f = void 0; + exports.f = a_1.a; }); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { +define("g", ["require", "exports", "b"], function (require, exports, b_1) { "use strict"; exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; + exports.g = void 0; + exports.g = b_1.b; }); -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/a.ts", - "./src/b.ts", - "./src/c.ts", - "./src/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 764, - "kind": "text" - } - ], - "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": false, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/a.ts", - "./src/b.ts", - "./src/c.ts", - "./src/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/project1/outfile.tsbuildinfo.baseline.txt -CleanBuild: ====================================================================== -File:: /src/project1/outFile.js ----------------------------------------------------------------------- -text: (0-764) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -File: /src/project2/outfile.js -CleanBuild: -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/e.ts", - "./src/f.ts", - "./src/g.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 153, - "kind": "text" - } - ], - "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/e.ts": "-13789510868-export const e = 10;", - "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", - "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": false, - "outFile": "./outFile.js" - }, - "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/e.ts", - "./src/f.ts", - "./src/g.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 153, - "kind": "text" - } - ], - "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/e.ts": "-13789510868-export const e = 10;", - "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", - "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "outFile": "./outFile.js" - }, - "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/project2/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/project2/outFile.js ----------------------------------------------------------------------- -text: (0-533) -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/project2/outFile.d.ts ----------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project2/outFile.d.ts ----------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -5:: js emit with change -*** Needs explanation -File: /src/project2/outfile.js -CleanBuild: -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -IncrementalBuild: - -TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/e.ts", - "./src/f.ts", - "./src/g.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 153, - "kind": "text" - } - ], - "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/e.ts": "-13789510868-export const e = 10;", - "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", - "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": false, - "outFile": "./outFile.js" - }, - "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./src", - "sourceFiles": [ - "./src/e.ts", - "./src/f.ts", - "./src/g.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 153, - "kind": "text" - } - ], - "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" - } - }, - "program": { - "fileInfos": { - "./src/e.ts": "-13789510868-export const e = 10;", - "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", - "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "outFile": "./outFile.js" - }, - "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/project2/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/project2/outFile.js ----------------------------------------------------------------------- -text: (0-533) -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/project2/outFile.d.ts ----------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -IncrementalBuild: ====================================================================== File:: /src/project2/outFile.d.ts ---------------------------------------------------------------------- diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js index 0afb63bc1e239..290f6b07ee09c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -367,13 +367,304 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:50 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:51 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:00:51 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: +No shapes updated in the builder:: +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-764) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 764, + "kind": "text" + } + ], + "hash": "15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2104 +} + +//// [/src/project2/outFile.js] +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + + +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": false, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1617 +} + Change:: no-change-run @@ -382,13 +673,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:52 AM] Projects in this build: +[12:01:04 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:53 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:54 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -401,13 +692,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:55 AM] Projects in this build: +[12:01:07 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -423,17 +714,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:59 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:01 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:07 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:19 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:08 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:20 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js index 3146c1ce48ade..e73987ff62d55 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js @@ -483,13 +483,283 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:00:52 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:00:53 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"emitDeclarationOnly":false,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts +Semantic diagnostics in builder refreshed for:: +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"emitDeclarationOnly":false,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./d.d.ts" + }, + "version": "FakeTSVersion", + "size": 1341 +} + +//// [/src/project2/src/e.js] +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + + +//// [/src/project2/src/f.js] +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + + +//// [/src/project2/src/g.js] +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-3762229137-export declare const a = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-3762229137-export declare const a = 10;\r\n", + "signature": "-3762229137-export declare const a = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": false + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1364 +} + Change:: no-change-run @@ -498,13 +768,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:54 AM] Projects in this build: +[12:01:09 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:10 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:56 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:01:11 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -517,13 +787,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:57 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:58 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:13 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:00:59 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:01:14 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -539,17 +809,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:01:01 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:17 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:03 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:18 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:11 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:23 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:12 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:24 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -569,15 +839,6 @@ Shape signatures in builder refreshed for:: /src/project1/src/b.ts (computed .d.ts) -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; - - //// [/src/project1/src/b.js] "use strict"; exports.__esModule = true; @@ -587,22 +848,6 @@ var bLocal = 10; var blocal = 10; -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js index 91b44081cbca1..643e3d2c33632 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js @@ -1,47 +1,6 @@ -3:: emit js files -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -65,7 +24,8 @@ CleanBuild: } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -108,8 +68,7 @@ IncrementalBuild: } }, "options": { - "composite": true, - "emitDeclarationOnly": true + "composite": true }, "referencedMap": { "./c.ts": [ @@ -130,35 +89,6 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -File: /src/project2/src/e.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - -IncrementalBuild: - -File: /src/project2/src/f.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - -IncrementalBuild: - -File: /src/project2/src/g.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -185,7 +115,8 @@ CleanBuild: } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./f.ts": [ @@ -232,8 +163,7 @@ IncrementalBuild: } }, "options": { - "composite": true, - "emitDeclarationOnly": true + "composite": true }, "referencedMap": { "./f.ts": [ @@ -255,41 +185,9 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -4:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference -5:: js emit with change without emitDeclarationOnly -*** Needs explanation -File: /src/project2/src/e.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - -IncrementalBuild: - -File: /src/project2/src/f.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - -IncrementalBuild: - -File: /src/project2/src/g.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - -IncrementalBuild: - +6:: local change +Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -316,7 +214,8 @@ CleanBuild: } }, "options": { - "composite": true + "composite": true, + "emitDeclarationOnly": true }, "referencedMap": { "./f.ts": [ @@ -363,8 +262,7 @@ IncrementalBuild: } }, "options": { - "composite": true, - "emitDeclarationOnly": true + "composite": true }, "referencedMap": { "./f.ts": [ @@ -385,8 +283,4 @@ IncrementalBuild: "latestChangedDtsFile": "FakeFileName" }, "version": "FakeTSVersion" -} -6:: local change -Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js index 714fcc3ae937f..779f13e86d48c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -1,144 +1,6 @@ -2:: non local change -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -3:: emit js files -*** Needs explanation -File: /src/project1/src/a.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; - -IncrementalBuild: - -File: /src/project1/src/b.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.b = void 0; -exports.b = 10; -var bLocal = 10; - -IncrementalBuild: - -File: /src/project1/src/c.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - -IncrementalBuild: - -File: /src/project1/src/d.js -CleanBuild: -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - -IncrementalBuild: - +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -162,7 +24,8 @@ CleanBuild: } }, "options": { - "declaration": true + "declaration": true, + "emitDeclarationOnly": true }, "referencedMap": { "./c.ts": [ @@ -204,8 +67,7 @@ IncrementalBuild: } }, "options": { - "declaration": true, - "emitDeclarationOnly": true + "declaration": true }, "referencedMap": { "./c.ts": [ @@ -227,103 +89,6 @@ IncrementalBuild: } TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -4:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -371,56 +136,6 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -5:: js emit with change without emitDeclarationOnly -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -466,53 +181,6 @@ CleanBuild: }, "version": "FakeTSVersion" } -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} 6:: local change Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only @@ -565,56 +233,6 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -7:: non local change -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "program": { "fileInfos": { @@ -631,53 +249,6 @@ CleanBuild: "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, - "../../project1/src/b.d.ts": { - "version": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, "../../project1/src/b.d.ts": { "version": "-1807916688-export declare const b = 10;\r\n" }, @@ -685,56 +256,6 @@ IncrementalBuild: "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" -} -8:: js emit with change without emitDeclarationOnly -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, "options": { "declaration": true }, @@ -756,51 +277,4 @@ CleanBuild: ] }, "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./e.ts": { - "version": "-13789510868-export const e = 10;" - }, - "../../project1/src/a.d.ts": { - "version": "-3762229137-export declare const a = 10;\r\n" - }, - "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" - }, - "../../project1/src/b.d.ts": { - "version": "-1807916688-export declare const b = 10;\r\n" - }, - "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" - } - }, - "options": { - "declaration": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./f.ts": [ - "../../project1/src/a.d.ts" - ], - "./g.ts": [ - "../../project1/src/b.d.ts" - ] - }, - "changeFileSet": [ - "../../../lib/lib.d.ts", - "../../project1/src/a.d.ts", - "../../project1/src/b.d.ts", - "./e.ts", - "./f.ts", - "./g.ts" - ] - }, - "version": "FakeTSVersion" } \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index b8c75d0d41c5c..3dd66f3c56cd0 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -1,38 +1,6 @@ -3:: emit js files -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -IncrementalBuild: - +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -44,16 +12,6 @@ CleanBuild: "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 801, - "kind": "text" - } - ], - "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -74,6 +32,7 @@ CleanBuild: }, "options": { "declaration": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" } }, @@ -89,6 +48,16 @@ IncrementalBuild: "./src/c.ts", "./src/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -109,7 +78,6 @@ IncrementalBuild: }, "options": { "declaration": true, - "emitDeclarationOnly": true, "outFile": "./outFile.js" } }, @@ -118,6 +86,26 @@ IncrementalBuild: File: /src/project1/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== File:: /src/project1/outFile.js ---------------------------------------------------------------------- text: (0-801) @@ -169,28 +157,4 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-232) -declare module "a" { - export const a = 10; - export const aaa = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -4:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index 63023a30813ba..a5516cd28d859 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -486,11 +486,13 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:57 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:04 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist + +[12:01:05 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -500,7 +502,21 @@ Output:: Found 1 error. -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] Program options: {"incremental":true,"declaration":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} Program structureReused: Not @@ -516,6 +532,149 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/project1/outFile.d.ts] file written with same contents +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion", + "size": 1860 +} + Change:: no-change-run @@ -524,15 +683,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:00:59 AM] Projects in this build: +[12:01:06 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:07 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:08 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:09 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -569,17 +728,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:04 AM] Projects in this build: +[12:01:11 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:20 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:21 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -775,17 +934,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:16 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:17 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:24 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:18 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:25 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:24 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:25 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:32 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -905,17 +1064,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:27 AM] Projects in this build: +[12:01:34 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:28 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:35 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:29 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:36 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:36 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:43 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1052,17 +1211,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:38 AM] Projects in this build: +[12:01:45 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:46 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:40 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:47 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:47 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:48 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:55 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index 2c5e2ff1d8ff7..cf1a8a5e3c45c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -663,6 +663,100 @@ export declare const aaa = 10; "size": 1362 } +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": false + }, + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": false + }, + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1306 +} + Change:: emit js files @@ -671,15 +765,17 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:59 AM] Projects in this build: +[12:01:02 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:03 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:04 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:16 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:17 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -689,23 +785,256 @@ Output:: Found 1 error. -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped -Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] -Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} -Program structureReused: Not -Program files:: -/lib/lib.d.ts -/src/project2/src/e.ts -/src/project1/src/a.d.ts -/src/project2/src/f.ts -/src/project1/src/b.d.ts -/src/project2/src/g.ts - -No cached semantic diagnostics in the builder:: - -No shapes updated in the builder:: - - +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"incremental":true,"declaration":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/project1/src/a.d.ts] file written with same contents +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.d.ts] file written with same contents +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.d.ts] file written with same contents +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.d.ts] file written with same contents +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1335 +} + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-1807916688-export declare const b = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": false + }, + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": false + }, + "version": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1279 +} + Change:: no-change-run @@ -714,15 +1043,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:03 AM] Projects in this build: +[12:01:21 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:04 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:22 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:01:05 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:23 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:06 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:24 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -760,17 +1089,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:08 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:09 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:27 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:10 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:28 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:22 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:23 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:35 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -813,17 +1142,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; - - //// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/b.js] "use strict"; @@ -834,24 +1152,6 @@ var bLocal = 10; var alocal = 10; -//// [/src/project1/src/c.d.ts] file written with same contents -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - -//// [/src/project1/src/d.d.ts] file written with same contents -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} @@ -951,17 +1251,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:25 AM] Projects in this build: +[12:01:37 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:26 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:38 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:27 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:39 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:35 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:36 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1004,10 +1304,7 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/b.d.ts] file written with same contents -//// [/src/project1/src/c.d.ts] file written with same contents -//// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} @@ -1108,17 +1405,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:38 AM] Projects in this build: +[12:01:47 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:40 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:49 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:46 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:55 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:47 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:56 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1258,6 +1555,100 @@ export declare const aaaaa = 10; "size": 1456 } +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": false + }, + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n", + "signature": false + }, + "version": "-3336829602-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1342 +} + Change:: js emit with change without emitDeclarationOnly @@ -1269,17 +1660,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:49 AM] Projects in this build: +[12:02:01 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:50 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:02:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:01:51 AM] Building project '/src/project1/src/tsconfig.json'... +[12:02:03 AM] Building project '/src/project1/src/tsconfig.json'... -[12:02:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:02:15 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:02:04 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:16 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1436,3 +1827,96 @@ exports.a2 = 10; "size": 1484 } +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": false + }, + "version": "-13789510868-export const e = 10;" + }, + "../../project1/src/a.d.ts": { + "original": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": false + }, + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": false + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" + }, + "../../project1/src/b.d.ts": { + "original": { + "version": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n", + "signature": false + }, + "version": "-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": false + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" + } + }, + "options": { + "declaration": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ] + }, + "version": "FakeTSVersion", + "size": 1348 +} + diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js index 608be0271ee5c..43886fb6df6ce 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -1,38 +1,6 @@ -3:: emit js files -*** Needs explanation -File: /src/project1/outfile.js -CleanBuild: -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.aaa = exports.a = void 0; - exports.a = 10; - var aLocal = 10; - var aa = 10; - exports.aaa = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -IncrementalBuild: - +4:: no-change-run +Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project1/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -44,16 +12,6 @@ CleanBuild: "./src/c.ts", "./src/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 801, - "kind": "text" - } - ], - "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -74,6 +32,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -91,6 +50,16 @@ IncrementalBuild: "./src/c.ts", "./src/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -111,7 +80,6 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -122,6 +90,26 @@ IncrementalBuild: File: /src/project1/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== File:: /src/project1/outFile.js ---------------------------------------------------------------------- text: (0-801) @@ -174,49 +162,6 @@ declare module "d" { } ====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project1/outFile.d.ts ----------------------------------------------------------------------- -text: (0-232) -declare module "a" { - export const a = 10; - export const aaa = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -File: /src/project2/outfile.js -CleanBuild: -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -IncrementalBuild: - TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -227,16 +172,6 @@ CleanBuild: "./src/f.ts", "./src/g.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -256,6 +191,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -272,6 +208,16 @@ IncrementalBuild: "./src/f.ts", "./src/g.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -291,7 +237,6 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -302,6 +247,22 @@ IncrementalBuild: File: /src/project2/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== File:: /src/project2/outFile.js ---------------------------------------------------------------------- text: (0-533) @@ -340,51 +301,9 @@ declare module "g" { } ====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project2/outFile.d.ts ----------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -4:: no-change-run -Clean build tsbuildinfo for both projects will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info for projects is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference -5:: js emit with change without emitDeclarationOnly -*** Needs explanation -File: /src/project2/outfile.js -CleanBuild: -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - -IncrementalBuild: - +6:: local change +Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only TsBuild info text without affectedFilesPendingEmit:: /src/project2/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -395,16 +314,6 @@ CleanBuild: "./src/f.ts", "./src/g.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 533, - "kind": "text" - } - ], - "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -424,6 +333,7 @@ CleanBuild: }, "options": { "composite": true, + "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -440,6 +350,16 @@ IncrementalBuild: "./src/f.ts", "./src/g.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -459,7 +379,6 @@ IncrementalBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -470,6 +389,22 @@ IncrementalBuild: File: /src/project2/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== File:: /src/project2/outFile.js ---------------------------------------------------------------------- text: (0-533) @@ -507,24 +442,4 @@ declare module "g" { export const g = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/project2/outFile.d.ts ----------------------------------------------------------------------- -text: (0-153) -declare module "e" { - export const e = 10; -} -declare module "f" { - export const f = 10; -} -declare module "g" { - export const g = 10; -} - -====================================================================== -6:: local change -Clean build tsbuildinfo for project2 will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild project2 so tsbuildinfo for it is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js index e8a2adbc4bbac..a141763f9204a 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -509,13 +509,305 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:12 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/outFile.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:13 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"outFile":"/src/project1/outFile.js","module":2,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"outFile":"/src/project2/outFile.js","module":2,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/outFile.d.ts +/src/project2/src/e.ts +/src/project2/src/f.ts +/src/project2/src/g.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: +//// [/src/project1/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + + +//// [/src/project1/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project1/outFile.js +---------------------------------------------------------------------- +text: (0-801) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.aaa = exports.a = void 0; + exports.a = 10; + var aLocal = 10; + var aa = 10; + exports.aaa = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project1/outFile.d.ts +---------------------------------------------------------------------- +text: (0-232) +declare module "a" { + export const a = 10; + export const aaa = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== + +//// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 801, + "kind": "text" + } + ], + "hash": "37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 232, + "kind": "text" + } + ], + "hash": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/a.ts", + "./src/b.ts", + "./src/c.ts", + "./src/d.ts" + ], + "fileInfos": { + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 2194 +} + +//// [/src/project2/outFile.js] +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + + +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.js +---------------------------------------------------------------------- +text: (0-533) +define("e", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.e = void 0; + exports.e = 10; +}); +define("f", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.f = void 0; + exports.f = a_1.a; +}); +define("g", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.g = void 0; + exports.g = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 533, + "kind": "text" + } + ], + "hash": "-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1589 +} + Change:: no-change-run @@ -524,13 +816,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:07 AM] Projects in this build: +[12:01:19 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:20 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' +[12:01:21 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -546,17 +838,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:11 AM] Projects in this build: +[12:01:23 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:24 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:25 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:19 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:20 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:32 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -732,17 +1024,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:24 AM] Projects in this build: +[12:01:36 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:25 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:37 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:26 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:38 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:43 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:32 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:44 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -842,17 +1134,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:36 AM] Projects in this build: +[12:01:48 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:37 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:49 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:38 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:50 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' +[12:01:56 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' -[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:57 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -972,9 +1264,69 @@ declare module "d" { "size": 1374 } -//// [/src/project2/outFile.tsbuildinfo] file written with same contents -//// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/project2/outFile.d.ts +---------------------------------------------------------------------- +text: (0-153) +declare module "e" { + export const e = 10; +} +declare module "f" { + export const f = 10; +} +declare module "g" { + export const g = 10; +} + +====================================================================== + +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "fileInfos": { + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": true, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 943 +} + Change:: js emit with change without emitDeclarationOnly @@ -986,17 +1338,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:51 AM] Projects in this build: +[12:02:03 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:52 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:02:04 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:53 AM] Building project '/src/project1/src/tsconfig.json'... +[12:02:05 AM] Building project '/src/project1/src/tsconfig.json'... -[12:02:00 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/outFile.tsbuildinfo' is older than input 'src/project1/src' +[12:02:12 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:02:01 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:13 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -1200,27 +1552,7 @@ declare module "d" { "size": 2520 } -//// [/src/project2/outFile.js] -define("e", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.e = void 0; - exports.e = 10; -}); -define("f", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.f = void 0; - exports.f = a_1.a; -}); -define("g", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.g = void 0; - exports.g = b_1.b; -}); - - +//// [/src/project2/outFile.js] file written with same contents //// [/src/project2/outFile.tsbuildinfo] {"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js index 6c4ca78bba618..7598b33b9360b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js @@ -732,13 +732,282 @@ Output:: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:01:06 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... + +[12:01:14 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions + +[12:01:15 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success +Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] +Program options: {"composite":true,"configFilePath":"/src/project1/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project1/src/a.ts +/src/project1/src/b.ts +/src/project1/src/c.ts +/src/project1/src/d.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: + +Program root files: ["/src/project2/src/e.ts","/src/project2/src/f.ts","/src/project2/src/g.ts"] +Program options: {"composite":true,"configFilePath":"/src/project2/src/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project2/src/e.ts +/src/project1/src/a.d.ts +/src/project2/src/f.ts +/src/project1/src/b.d.ts +/src/project2/src/g.ts + +Semantic diagnostics in builder refreshed for:: + +No shapes updated in the builder:: +//// [/src/project1/src/a.js] +"use strict"; +exports.__esModule = true; +exports.aaa = exports.a = void 0; +exports.a = 10; +var aLocal = 10; +var aa = 10; +exports.aaa = 10; + + +//// [/src/project1/src/b.js] +"use strict"; +exports.__esModule = true; +exports.b = void 0; +exports.b = 10; +var bLocal = 10; + + +//// [/src/project1/src/c.js] +"use strict"; +exports.__esModule = true; +exports.c = void 0; +var a_1 = require("./a"); +exports.c = a_1.a; + + +//// [/src/project1/src/d.js] +"use strict"; +exports.__esModule = true; +exports.d = void 0; +var b_1 = require("./b"); +exports.d = b_1.b; + + +//// [/src/project1/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "fileNamesList": [ + [ + "./a.ts" + ], + [ + "./b.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./b.ts": { + "original": { + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "version": "-6189287562-export const b = 10;const bLocal = 10;", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./c.ts": { + "original": { + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "version": "3248317647-import { a } from \"./a\";export const c = a;", + "signature": "-4148571535-export declare const c = 10;\r\n" + }, + "./d.ts": { + "original": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + }, + "version": "-19615769517-import { b } from \"./b\";export const d = b;", + "signature": "-6489226382-export declare const d = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "./a.d.ts" + }, + "version": "FakeTSVersion", + "size": 1367 +} + +//// [/src/project2/src/e.js] +"use strict"; +exports.__esModule = true; +exports.e = void 0; +exports.e = 10; + + +//// [/src/project2/src/f.js] +"use strict"; +exports.__esModule = true; +exports.f = void 0; +var a_1 = require("../../project1/src/a"); +exports.f = a_1.a; + + +//// [/src/project2/src/g.js] +"use strict"; +exports.__esModule = true; +exports.g = void 0; +var b_1 = require("../../project1/src/b"); +exports.g = b_1.b; + + +//// [/src/project2/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-1807916688-export declare const b = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} + +//// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../lib/lib.d.ts", + "./e.ts", + "../../project1/src/a.d.ts", + "./f.ts", + "../../project1/src/b.d.ts", + "./g.ts" + ], + "fileNamesList": [ + [ + "../../project1/src/a.d.ts" + ], + [ + "../../project1/src/b.d.ts" + ] + ], + "fileInfos": { + "../../../lib/lib.d.ts": { + "original": { + "version": "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; };", + "affectsGlobalScope": true + }, + "version": "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; };", + "signature": "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; };", + "affectsGlobalScope": true + }, + "./e.ts": { + "original": { + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "version": "-13789510868-export const e = 10;", + "signature": "-4534913933-export declare const e = 10;\r\n" + }, + "../../project1/src/a.d.ts": { + "version": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n", + "signature": "-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n" + }, + "./f.ts": { + "original": { + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", + "signature": "-6875568780-export declare const f = 10;\r\n" + }, + "../../project1/src/b.d.ts": { + "version": "-1807916688-export declare const b = 10;\r\n", + "signature": "-1807916688-export declare const b = 10;\r\n" + }, + "./g.ts": { + "original": { + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + }, + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", + "signature": "-4921256331-export declare const g = 10;\r\n" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./f.ts": [ + "../../project1/src/a.d.ts" + ], + "./g.ts": [ + "../../project1/src/b.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../lib/lib.d.ts", + "../../project1/src/a.d.ts", + "../../project1/src/b.d.ts", + "./e.ts", + "./f.ts", + "./g.ts" + ], + "latestChangedDtsFile": "./g.d.ts" + }, + "version": "FakeTSVersion", + "size": 1369 +} + Change:: no-change-run @@ -747,13 +1016,13 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:07 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:23 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' +[12:01:24 AM] Project 'src/project2/src/tsconfig.json' is up to date because newest input 'src/project2/src/g.ts' is older than output 'src/project2/src/tsconfig.tsbuildinfo' exitCode:: ExitStatus.Success @@ -769,17 +1038,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:11 AM] Projects in this build: +[12:01:26 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:27 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:28 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:21 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:33 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:22 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:34 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -799,16 +1068,6 @@ Shape signatures in builder refreshed for:: /src/project1/src/b.ts (computed .d.ts) -//// [/src/project1/src/a.js] -"use strict"; -exports.__esModule = true; -exports.aaa = exports.a = void 0; -exports.a = 10; -var aLocal = 10; -var aa = 10; -exports.aaa = 10; - - //// [/src/project1/src/b.js] "use strict"; exports.__esModule = true; @@ -818,22 +1077,6 @@ var bLocal = 10; var alocal = 10; -//// [/src/project1/src/c.js] -"use strict"; -exports.__esModule = true; -exports.c = void 0; -var a_1 = require("./a"); -exports.c = a_1.a; - - -//// [/src/project1/src/d.js] -"use strict"; -exports.__esModule = true; -exports.d = void 0; -var b_1 = require("./b"); -exports.d = b_1.b; - - //// [/src/project1/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} @@ -935,17 +1178,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:26 AM] Projects in this build: +[12:01:38 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:27 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:39 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:28 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:40 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:32 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:33 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... +[12:01:45 AM] Updating output timestamps of project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -1067,17 +1310,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:37 AM] Projects in this build: +[12:01:49 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:38 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:50 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:39 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:51 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' +[12:01:56 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' -[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:57 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -1316,17 +1559,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:50 AM] Projects in this build: +[12:02:02 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:51 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:02:03 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:01:52 AM] Building project '/src/project1/src/tsconfig.json'... +[12:02:04 AM] Building project '/src/project1/src/tsconfig.json'... -[12:02:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output 'src/project2/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src' +[12:02:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:02:02 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:14 AM] Building project '/src/project2/src/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project1/src/a.ts","/src/project1/src/b.ts","/src/project1/src/c.ts","/src/project1/src/d.ts"] @@ -1477,29 +1720,9 @@ exports.a2 = 10; "size": 1516 } -//// [/src/project2/src/e.js] -"use strict"; -exports.__esModule = true; -exports.e = void 0; -exports.e = 10; - - -//// [/src/project2/src/f.js] -"use strict"; -exports.__esModule = true; -exports.f = void 0; -var a_1 = require("../../project1/src/a"); -exports.f = a_1.a; - - -//// [/src/project2/src/g.js] -"use strict"; -exports.__esModule = true; -exports.g = void 0; -var b_1 = require("../../project1/src/b"); -exports.g = b_1.b; - - +//// [/src/project2/src/e.js] file written with same contents +//// [/src/project2/src/f.js] file written with same contents +//// [/src/project2/src/g.js] file written with same contents //// [/src/project2/src/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4534913933-export declare const e = 10;\r\n"},"-415701381-export declare const a = 10;\r\nexport declare const aaa = 10;\r\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-6875568780-export declare const f = 10;\r\n"},"-2735127622-export declare const b = 10;\r\nexport declare const aaaaa = 10;\r\nexport declare const a2 = 10;\r\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-4921256331-export declare const g = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,5,2,4,6],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js index 234d52caa041e..8692190178453 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js @@ -31,124 +31,6 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: -{ - "program": { - "fileInfos": { - "../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "4646078106-export function foo() { }" - }, - "./b.ts": { - "version": "1045484683-export function bar() { }" - } - }, - "options": { - "composite": true - }, - "referencedMap": {}, - "changeFileSet": [ - "../lib/lib.d.ts", - "./a.ts", - "./b.ts" - ] - }, - "version": "FakeTSVersion" -} -1:: reports syntax errors after change to ts file -During incremental build, tsbuildinfo is not emitted, so declaration option is not present -Clean build has declaration option in tsbuildinfo -TsBuild info text without affectedFilesPendingEmit:: /src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "9819159940-export function foo() { }export function fooBar() { }" - }, - "./b.ts": { - "version": "1045484683-export function bar() { }" - } - }, - "options": { - "composite": true, - "declaration": true - }, - "referencedMap": {}, - "changeFileSet": [ - "../lib/lib.d.ts", - "./a.ts", - "./b.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "4646078106-export function foo() { }" - }, - "./b.ts": { - "version": "1045484683-export function bar() { }" - } - }, - "options": { - "composite": true - }, - "referencedMap": {}, - "changeFileSet": [ - "../lib/lib.d.ts", - "./a.ts", - "./b.ts" - ] - }, - "version": "FakeTSVersion" -} -2:: no-change-run -During incremental build, tsbuildinfo is not emitted, so declaration option is not present -Clean build has declaration option in tsbuildinfo -TsBuild info text without affectedFilesPendingEmit:: /src/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "version": "9819159940-export function foo() { }export function fooBar() { }" - }, - "./b.ts": { - "version": "1045484683-export function bar() { }" - } - }, - "options": { - "composite": true, - "declaration": true - }, - "referencedMap": {}, - "changeFileSet": [ - "../lib/lib.d.ts", - "./a.ts", - "./b.ts" - ] - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "program": { "fileInfos": { diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 1de46d84758d4..25051bb7da437 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -150,6 +150,58 @@ Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +//// [/src/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","signature":false,"affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../lib/lib.d.ts": { + "original": { + "version": "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; };", + "signature": false, + "affectsGlobalScope": true + }, + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "9819159940-export function foo() { }export function fooBar() { }", + "signature": false + }, + "version": "9819159940-export function foo() { }export function fooBar() { }" + }, + "./b.ts": { + "original": { + "version": "1045484683-export function bar() { }", + "signature": false + }, + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 881 +} + Change:: no-change-run diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 664d96479f932..bdb711ec74370 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -336,19 +336,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "affectedFilesPendingEmit": [ [ "../../animals/animal.ts", - "Full" + "Js | Dts" ], [ "../../animals/dog.ts", - "Full" + "Js | Dts" ], [ "../../animals/index.ts", - "Full" + "Js | Dts" ], [ "../../core/utilities.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 0e6110ccaf3dc..63e3595236a85 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -416,19 +416,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "affectedFilesPendingEmit": [ [ "../bar.ts", - "Full" + "Js | Dts" ], [ [ "../index.ts" ], - "DtsOnly" + "Dts" ], [ [ "../lazyindex.ts" ], - "DtsOnly" + "Dts" ] ] }, @@ -730,19 +730,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "affectedFilesPendingEmit": [ [ "../bar.ts", - "Full" + "Js | Dts" ], [ [ "../index.ts" ], - "DtsOnly" + "Dts" ], [ [ "../lazyindex.ts" ], - "DtsOnly" + "Dts" ] ] }, diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index 569d088af0f01..a882f477a061a 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -260,7 +260,7 @@ module.exports = {}; "affectedFilesPendingEmit": [ [ "../../src/sub-project/index.js", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js index 29e3455e4e859..c0782fb297d05 100644 --- a/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js @@ -107,7 +107,7 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "./a.ts", - "Full" + "Js" ] ] }, @@ -225,7 +225,7 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "./a.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js index ef48dd4df045d..dc7770d01042c 100644 --- a/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js @@ -204,7 +204,7 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "./a.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index 878e4287bbf18..d861bde9ccdee 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -146,15 +146,15 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 95b2bd2b52704..d2ede3b0d2c72 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -184,11 +184,11 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "affectedFilesPendingEmit": [ [ "../src/hello.json", - "Full" + "Js | Dts" ], [ "../src/index.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 17194c29ad95b..8a3906810710e 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -321,7 +321,7 @@ exports.multiply = multiply; "affectedFilesPendingEmit": [ [ "./index.ts", - "Full" + "Js | JsMap | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 06e7a0356b4aa..13a458555d246 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -212,7 +212,7 @@ Output:: [12:00:16 AM] Projects in this build: * src/core/tsconfig.json -[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' +[12:00:17 AM] Project 'src/core/tsconfig.json' is out of date because buildinfo file 'src/core/tsconfig.tsbuildinfo' indicates there is change in compilerOptions [12:00:18 AM] Building project '/src/core/tsconfig.json'... @@ -223,14 +223,12 @@ exitCode:: ExitStatus.Success export declare const World = "hello"; -//// [/src/core/anotherModule.js] file written with same contents //// [/src/core/index.d.ts] export declare const someString: string; export declare function leftPad(s: string, n: number): string; export declare function multiply(a: number, b: number): number; -//// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js index 2aced9fe3c123..dd838d5661dbf 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js @@ -1,23 +1,5 @@ 0:: Disable declarationMap *** Needs explanation -File: /src/core/anothermodule.d.ts -CleanBuild: -export declare const World = "hello"; - -IncrementalBuild: -export declare const World = "hello"; -//# sourceMappingURL=anotherModule.d.ts.map -File: /src/core/index.d.ts -CleanBuild: -export declare const someString: string; -export declare function leftPad(s: string, n: number): string; -export declare function multiply(a: number, b: number): number; - -IncrementalBuild: -export declare const someString: string; -export declare function leftPad(s: string, n: number): string; -export declare function multiply(a: number, b: number): number; -//# sourceMappingURL=index.d.ts.map TsBuild info text without affectedFilesPendingEmit:: /src/logic/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: { diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js index 1a9c2e8cc513e..701a5b7341ca2 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -462,23 +462,31 @@ Output:: * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' +[12:00:35 AM] Project 'src/core/tsconfig.json' is out of date because buildinfo file 'src/core/tsconfig.tsbuildinfo' indicates there is change in compilerOptions [12:00:36 AM] Building project '/src/core/tsconfig.json'... -[12:00:42 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:44 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:43 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:00:45 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:00:46 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:00:48 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:00:47 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:00:49 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success -//// [/src/core/anotherModule.js] file written with same contents -//// [/src/core/index.js] file written with same contents +//// [/src/core/anotherModule.d.ts] +export declare const World = "hello"; + + +//// [/src/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; + + //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} @@ -567,30 +575,38 @@ Input:: Output:: /lib/tsc --b /src/tests --verbose -[12:00:51 AM] Projects in this build: +[12:00:53 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -[12:00:52 AM] Project 'src/core/tsconfig.json' is out of date because output 'src/core/tsconfig.tsbuildinfo' is older than input 'src/core/tsconfig.json' +[12:00:54 AM] Project 'src/core/tsconfig.json' is out of date because buildinfo file 'src/core/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:00:53 AM] Building project '/src/core/tsconfig.json'... +[12:00:55 AM] Building project '/src/core/tsconfig.json'... -[12:01:01 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:05 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:02 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:01:06 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -[12:01:05 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:09 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -[12:01:06 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:01:10 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success +//// [/src/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + //// [/src/core/anotherModule.d.ts.map] file written with same contents -//// [/src/core/anotherModule.js] file written with same contents +//// [/src/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + //// [/src/core/index.d.ts.map] file written with same contents -//// [/src/core/index.js] file written with same contents //// [/src/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-8396256275-export declare const World = \"hello\";\r\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 3fb2956b1f0dd..0fa28f2fb3723 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -182,7 +182,7 @@ exports.A = A; "affectedFilesPendingEmit": [ [ "./b.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index ba95aa8b7c5e6..0c7b6ee138f64 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -194,7 +194,7 @@ Output:: 8 "b.ts"    ~~~~~~ -[12:00:39 AM] Found 1 error. Watching for file changes. +[12:00:46 AM] Found 1 error. Watching for file changes. @@ -224,6 +224,58 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","signature":false,"affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"options":{"composite":true,"declaration":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "signature": false, + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-3260843409-export function fooBar() { }", + "signature": false + }, + "version": "-3260843409-export function fooBar() { }" + }, + "./b.ts": { + "original": { + "version": "1045484683-export function bar() { }", + "signature": false + }, + "version": "1045484683-export function bar() { }" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "changeFileSet": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ] + }, + "version": "FakeTSVersion", + "size": 788 +} + Change:: reports error when there is no change to tsconfig file @@ -232,14 +284,14 @@ Input:: Output:: >> Screen clear -[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... tsconfig.json:8:9 - error TS1005: ',' expected. 8 "b.ts"    ~~~~~~ -[12:00:44 AM] Found 1 error. Watching for file changes. +[12:00:51 AM] Found 1 error. Watching for file changes. @@ -279,9 +331,9 @@ Input:: Output:: >> Screen clear -[12:00:49 AM] File change detected. Starting incremental compilation... +[12:00:56 AM] File change detected. Starting incremental compilation... -[12:01:05 AM] Found 0 errors. Watching for file changes. +[12:01:12 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index f4750ceff3352..1811eb413cfa6 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -396,19 +396,19 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../../animals/animal.ts", - "Full" + "Js | Dts" ], [ "../../animals/dog.ts", - "Full" + "Js | Dts" ], [ "../../animals/index.ts", - "Full" + "Js | Dts" ], [ "../../core/utilities.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -684,19 +684,19 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../../animals/animal.ts", - "Full" + "Js | Dts" ], [ "../../animals/dog.ts", - "Full" + "Js | Dts" ], [ "../../animals/index.ts", - "Full" + "Js | Dts" ], [ "../../core/utilities.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 0f0699247d208..7f65a4e67bfca 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -114,11 +114,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./a.js", - "Full" + "Js" ], [ "./b.ts", - "Full" + "Js" ] ] }, @@ -271,11 +271,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./a.js", - "Full" + "Js" ], [ "./b.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index ffd89b161285b..63b6fdec3d3b7 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -511,7 +511,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 75f6a65ddc43e..1dbac0efdd9f5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -652,7 +652,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./index.ts", - "Full" + "Js | JsMap | Dts" ] ], "latestChangedDtsFile": "./index.d.ts" @@ -797,7 +797,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./index.ts", - "Full" + "Js | Dts | DtsMap" ] ], "latestChangedDtsFile": "./index.d.ts" diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 24f9be56ccb36..4a39f556b0da4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -650,7 +650,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./index.ts", - "Full" + "Js | JsMap | Dts" ] ], "latestChangedDtsFile": "./index.d.ts" @@ -794,7 +794,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./index.ts", - "Full" + "Js | Dts | DtsMap" ] ], "latestChangedDtsFile": "./index.d.ts" diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index e3c3b768fdc08..3426644bcfe37 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -218,7 +218,7 @@ exports["default"] = 2; //// [/src/project/reexport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4,5],"latestChangedDtsFile":"./constants.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1329721329-export { default as ConstantNumber } from \"./constants\";\r\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4,5],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -322,9 +322,9 @@ exports["default"] = 2; "./reexport.ts", "./types.d.ts" ], - "latestChangedDtsFile": "./constants.d.ts" + "latestChangedDtsFile": "./class1.d.ts" }, "version": "FakeTSVersion", - "size": 1518 + "size": 1515 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index 89737fb94370b..f87d49050291b 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -172,7 +172,7 @@ exports["default"] = 2; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4],"latestChangedDtsFile":"./constants.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-4973037314-declare const a = 2;\r\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"1573564507-declare const _default: 2;\r\nexport default _default;\r\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./class1.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]],3,4],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,9 +257,9 @@ exports["default"] = 2; "./constants.ts", "./types.d.ts" ], - "latestChangedDtsFile": "./constants.d.ts" + "latestChangedDtsFile": "./class1.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1303 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js index 832700849dcf8..512da73449510 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js @@ -1,101 +1,273 @@ 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference -4:: with declaration and declarationMap -*** Needs explanation -File: /src/project/a.d.ts +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} IncrementalBuild: -export declare const a = 10; - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: -export declare const b = 10; - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: -export declare const c = 10; - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: -export declare const d = 10; - +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "emitDeclarationOnly": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference -12:: declarationMap enabling -*** Needs explanation -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: -export declare const a = 10; - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: -export declare const b = 10; - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: -export declare const c = 10; - -File: /src/project/d.d.ts -CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map -IncrementalBuild: -export declare const d = 10; - -13:: with sourceMap should not emit d.ts -*** Needs explanation -File: /src/project/a.d.ts -CleanBuild: -export declare const a = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: -export declare const a = 10; - -File: /src/project/b.d.ts -CleanBuild: -export declare const b = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: -export declare const b = 10; - -File: /src/project/c.d.ts -CleanBuild: -export declare const c = 10; -//# sourceMappingURL=c.d.ts.map -IncrementalBuild: -export declare const c = 10; - -File: /src/project/d.d.ts +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: CleanBuild: -export declare const d = 10; -//# sourceMappingURL=d.d.ts.map +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true, + "declaration": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} IncrementalBuild: -export declare const d = 10; +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "composite": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js index ca576f60d98d3..264f783db976d 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js @@ -27,8 +27,174 @@ Clean: {} 4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-18487752940-export const a = 10;const aLocal = 10;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} 7:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ], + "options": {} + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "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; };", + "affectsGlobalScope": true + }, + "./a.ts": { + "version": "-17390360476-export const a = 10;const aLocal = 100;" + }, + "./b.ts": { + "version": "-6189287562-export const b = 10;const bLocal = 10;" + }, + "./c.ts": { + "version": "3248317647-import { a } from \"./a\";export const c = a;" + }, + "./d.ts": { + "version": "-19615769517-import { b } from \"./b\";export const d = b;" + } + }, + "options": { + "declaration": true, + "declarationMap": true + }, + "referencedMap": { + "./c.ts": [ + "./a.ts" + ], + "./d.ts": [ + "./b.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a.ts", + "./b.ts", + "./c.ts", + "./d.ts" + ] + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js index 6b3087f5ddd33..4724e774553d4 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js @@ -474,22 +474,18 @@ No shapes updated in the builder:: export declare const a = 10; -//// [/src/project/a.js] file written with same contents //// [/src/project/b.d.ts] export declare const b = 10; -//// [/src/project/b.js] file written with same contents //// [/src/project/c.d.ts] export declare const c = 10; -//// [/src/project/c.js] file written with same contents //// [/src/project/d.d.ts] export declare const d = 10; -//// [/src/project/d.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} @@ -609,7 +605,6 @@ export declare const a = 10; //// [/src/project/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -//// [/src/project/a.js] file written with same contents //// [/src/project/b.d.ts] export declare const b = 10; //# sourceMappingURL=b.d.ts.map @@ -617,7 +612,6 @@ export declare const b = 10; //// [/src/project/b.d.ts.map] {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -//// [/src/project/b.js] file written with same contents //// [/src/project/c.d.ts] export declare const c = 10; //# sourceMappingURL=c.d.ts.map @@ -625,7 +619,6 @@ export declare const c = 10; //// [/src/project/c.d.ts.map] {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -//// [/src/project/c.js] file written with same contents //// [/src/project/d.d.ts] export declare const d = 10; //# sourceMappingURL=d.d.ts.map @@ -633,7 +626,6 @@ export declare const d = 10; //// [/src/project/d.d.ts.map] {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -//// [/src/project/d.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} @@ -747,95 +739,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1233 -} - Change:: local change @@ -984,16 +887,12 @@ No shapes updated in the builder:: //// [/src/project/a.d.ts] file written with same contents //// [/src/project/a.d.ts.map] file written with same contents -//// [/src/project/a.js] file written with same contents //// [/src/project/b.d.ts] file written with same contents //// [/src/project/b.d.ts.map] file written with same contents -//// [/src/project/b.js] file written with same contents //// [/src/project/c.d.ts] file written with same contents //// [/src/project/c.d.ts.map] file written with same contents -//// [/src/project/c.js] file written with same contents //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents -//// [/src/project/d.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} @@ -1107,95 +1006,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ] - }, - "version": "FakeTSVersion", - "size": 1234 -} - Change:: with inlineSourceMap @@ -1657,16 +1467,12 @@ No shapes updated in the builder:: //// [/src/project/a.d.ts] file written with same contents //// [/src/project/a.d.ts.map] file written with same contents -//// [/src/project/a.js] file written with same contents //// [/src/project/b.d.ts] file written with same contents //// [/src/project/b.d.ts.map] file written with same contents -//// [/src/project/b.js] file written with same contents //// [/src/project/c.d.ts] file written with same contents //// [/src/project/c.d.ts.map] file written with same contents -//// [/src/project/c.js] file written with same contents //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents -//// [/src/project/d.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5]},"version":"FakeTSVersion"} diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js index 1ded72d6a0541..32a33a4466d8c 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js @@ -2,37 +2,6 @@ Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only *** Supplied discrepancy explanation but didnt file any difference -4:: with declaration and declarationMap -*** Needs explanation -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only @@ -42,65 +11,4 @@ Incremental build info has js section from old build 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference -12:: declarationMap enabling -*** Needs explanation -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -13:: with sourceMap should not emit d.ts -*** Needs explanation -File: /src/outfile.d.ts -CleanBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} +*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index 3735cd32e7317..ee64df3ddc361 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -625,6 +625,21 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map + //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} @@ -715,6 +730,21 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + + //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] {"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} @@ -1511,6 +1541,21 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: +//// [/src/outFile.d.ts] +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} +//# sourceMappingURL=outFile.d.ts.map + //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.js] define("a", ["require", "exports"], function (require, exports) { diff --git a/tests/baselines/reference/tsc/incremental/different-options.js b/tests/baselines/reference/tsc/incremental/different-options.js index ed3717d9bac30..ed8a5bc04bad0 100644 --- a/tests/baselines/reference/tsc/incremental/different-options.js +++ b/tests/baselines/reference/tsc/incremental/different-options.js @@ -523,100 +523,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "./d.d.ts" - }, - "version": "FakeTSVersion", - "size": 1315 -} - Change:: no-change-run @@ -641,99 +547,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "./d.d.ts" - }, - "version": "FakeTSVersion", - "size": 1296 -} - Change:: with declaration and declarationMap @@ -758,22 +571,34 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +//// [/src/project/a.d.ts] +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map + //// [/src/project/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -//// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map + //// [/src/project/b.d.ts.map] {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,CAAC,KAAK,CAAC"} -//// [/src/project/b.js] file written with same contents +//// [/src/project/c.d.ts] +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map + //// [/src/project/c.d.ts.map] {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["c.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -//// [/src/project/c.js] file written with same contents +//// [/src/project/d.d.ts] +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map + //// [/src/project/d.d.ts.map] {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} -//// [/src/project/d.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} @@ -889,10 +714,22 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents +//// [/src/project/a.d.ts] +export declare const a = 10; + + +//// [/src/project/b.d.ts] +export declare const b = 10; + + +//// [/src/project/c.d.ts] +export declare const c = 10; + + +//// [/src/project/d.d.ts] +export declare const d = 10; + + //// [/src/project/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} @@ -1006,96 +843,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "options": { - "composite": true, - "emitDeclarationOnly": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "./d.d.ts" - }, - "version": "FakeTSVersion", - "size": 1323 -} - Change:: no-change-run @@ -1120,99 +867,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "options": { - "composite": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "./d.d.ts" - }, - "version": "FakeTSVersion", - "size": 1296 -} - Change:: local change @@ -1363,100 +1017,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.js] file written with same contents -//// [/src/project/b.js] file written with same contents -//// [/src/project/c.js] file written with same contents -//// [/src/project/d.js] file written with same contents -//// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3762229137-export declare const a = 10;\r\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-1807916688-export declare const b = 10;\r\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4148571535-export declare const c = 10;\r\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-6489226382-export declare const d = 10;\r\n"}],"options":{"composite":true,"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4,5],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} - -//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "fileNamesList": [ - [ - "./a.ts" - ], - [ - "./b.ts" - ] - ], - "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "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; };", - "affectsGlobalScope": true - }, - "version": "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; };", - "signature": "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; };", - "affectsGlobalScope": true - }, - "./a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3762229137-export declare const a = 10;\r\n" - }, - "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-1807916688-export declare const b = 10;\r\n" - }, - "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4148571535-export declare const c = 10;\r\n" - }, - "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-6489226382-export declare const d = 10;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true - }, - "referencedMap": { - "./c.ts": [ - "./a.ts" - ], - "./d.ts": [ - "./b.ts" - ] - }, - "exportedModulesMap": {}, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "./a.ts", - "./b.ts", - "./c.ts", - "./d.ts" - ], - "latestChangedDtsFile": "./d.d.ts" - }, - "version": "FakeTSVersion", - "size": 1316 -} - Change:: with inlineSourceMap @@ -1782,6 +1342,10 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: +//// [/src/project/a.d.ts] +export declare const a = 10; +//# sourceMappingURL=a.d.ts.map + //// [/src/project/a.d.ts.map] file written with same contents //// [/src/project/a.js] "use strict"; @@ -1791,6 +1355,10 @@ exports.a = 10; var aLocal = 100; +//// [/src/project/b.d.ts] +export declare const b = 10; +//# sourceMappingURL=b.d.ts.map + //// [/src/project/b.d.ts.map] file written with same contents //// [/src/project/b.js] "use strict"; @@ -1800,6 +1368,10 @@ exports.b = 10; var bLocal = 10; +//// [/src/project/c.d.ts] +export declare const c = 10; +//# sourceMappingURL=c.d.ts.map + //// [/src/project/c.d.ts.map] file written with same contents //// [/src/project/c.js] "use strict"; @@ -1809,6 +1381,10 @@ var a_1 = require("./a"); exports.c = a_1.a; +//// [/src/project/d.d.ts] +export declare const d = 10; +//# sourceMappingURL=d.d.ts.map + //// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/d.js] "use strict"; diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js index 169069531e20b..7629fd5879786 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-composite.js @@ -512,23 +512,23 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ], "emitSignatures": [ @@ -1313,23 +1313,23 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js index 927cf3dc7031a..9dfa594acd9a9 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental-declaration.js @@ -511,23 +511,23 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ] }, @@ -1302,23 +1302,23 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js index b6cdc3883ed62..3725d20c220f2 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-incremental.js @@ -458,19 +458,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js" ], [ "./src/directuse.ts", - "Full" + "Js" ], [ "./src/indirectclass.ts", - "Full" + "Js" ], [ "./src/indirectuse.ts", - "Full" + "Js" ] ] }, @@ -1206,11 +1206,11 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js" ], [ "./src/indirectclass.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js index 5c572f4ef5cd8..bc721438673eb 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-composite.js @@ -164,27 +164,27 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ "./src/directuse.ts", - "Full" + "Js | Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ "./src/indirectuse.ts", - "Full" + "Js | Dts" ], [ "./src/nochangefile.ts", - "Full" + "Js | Dts" ], [ "./src/nochangefilewithemitspecificerror.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -823,23 +823,23 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js index 8b2a92dfebf6f..e216cd68a408d 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental-declaration.js @@ -164,27 +164,27 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ "./src/directuse.ts", - "Full" + "Js | Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ "./src/indirectuse.ts", - "Full" + "Js | Dts" ], [ "./src/nochangefile.ts", - "Full" + "Js | Dts" ], [ "./src/nochangefilewithemitspecificerror.ts", - "Full" + "Js | Dts" ] ] }, @@ -816,23 +816,23 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js | Dts" ], [ [ "./src/directuse.ts" ], - "DtsOnly" + "Dts" ], [ "./src/indirectclass.ts", - "Full" + "Js | Dts" ], [ [ "./src/indirectuse.ts" ], - "DtsOnly" + "Dts" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js index f7a07b42e23a0..ed01faf442886 100644 --- a/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/incremental/noEmit-changes-with-initial-noEmit-incremental.js @@ -161,27 +161,27 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js" ], [ "./src/directuse.ts", - "Full" + "Js" ], [ "./src/indirectclass.ts", - "Full" + "Js" ], [ "./src/indirectuse.ts", - "Full" + "Js" ], [ "./src/nochangefile.ts", - "Full" + "Js" ], [ "./src/nochangefilewithemitspecificerror.ts", - "Full" + "Js" ] ] }, @@ -743,11 +743,11 @@ exitCode:: ExitStatus.Success "affectedFilesPendingEmit": [ [ "./src/class.ts", - "Full" + "Js" ], [ "./src/indirectclass.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js index d10fedf10cbdd..aadaa6ee56cc4 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js @@ -98,22 +98,11 @@ IncrementalBuild: "-3198459068-declare const x = 10;\r\n" ] ], + "emitSignatureDtsMapDiffers": [ + "./a.ts", + "./b.ts" + ], "latestChangedDtsFile": "FakeFileName" }, "version": "FakeTSVersion" -} -1:: fix error declarationMap -*** Needs explanation -File: /src/project/a.d.ts -CleanBuild: -declare const x = 10; -//# sourceMappingURL=a.d.ts.map -IncrementalBuild: -declare const x = 10; - -File: /src/project/b.d.ts -CleanBuild: -declare const y = 10; -//# sourceMappingURL=b.d.ts.map -IncrementalBuild: -declare const y = 10; +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js deleted file mode 100644 index cfe88b9592c9d..0000000000000 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js +++ /dev/null @@ -1,10 +0,0 @@ -1:: fix error declarationMap -*** Needs explanation -File: /src/outfile.d.ts -CleanBuild: -declare const x = 10; -declare const y = 10; -//# sourceMappingURL=outFile.d.ts.map -IncrementalBuild: -declare const x = 10; -declare const y = 10; diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js index 8df97d0d8b138..295094183ca05 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js @@ -147,6 +147,11 @@ Output:: exitCode:: ExitStatus.Success +//// [/src/outFile.d.ts] +declare const x = 10; +declare const y = 10; +//# sourceMappingURL=outFile.d.ts.map + //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js index 11dc043c978be..09c6bd913ce59 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js @@ -129,7 +129,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-1601647902-declare const x: 20;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./a.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]],3],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"-3198459068-declare const x = 10;\r\n"]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-1601647902-declare const x: 20;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./a.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]],3],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"-3198459068-declare const x = 10;\r\n"]],"emitSignatureDtsMapDiffers":[2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -198,11 +198,11 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "affectedFilesPendingEmit": [ [ "./a.ts", - "Full" + "Js | Dts | DtsMap" ], [ "./b.ts", - "Full" + "Js | Dts | DtsMap" ] ], "emitSignatures": [ @@ -211,10 +211,14 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "-3198459068-declare const x = 10;\r\n" ] ], + "emitSignatureDtsMapDiffers": [ + "./a.ts", + "./b.ts" + ], "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1249 + "size": 1284 } @@ -231,10 +235,18 @@ Output:: exitCode:: ExitStatus.Success +//// [/src/project/a.d.ts] +declare const x = 10; +//# sourceMappingURL=a.d.ts.map + //// [/src/project/a.d.ts.map] {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC"} //// [/src/project/a.js] file written with same contents +//// [/src/project/b.d.ts] +declare const y = 10; +//# sourceMappingURL=b.d.ts.map + //// [/src/project/b.d.ts.map] {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC"} diff --git a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js index b278a2611fd61..57057c4e206c3 100644 --- a/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/incremental/when-project-has-strict-true.js @@ -78,7 +78,7 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "./class1.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js index 96bca31b44627..dd05fa1b4f3a4 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-semantic-errors.js @@ -146,15 +146,15 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js index a2bfaf9e332d3..783f510f179e7 100644 --- a/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js +++ b/tests/baselines/reference/tsc/incremental/with-noEmitOnError-syntax-errors.js @@ -136,15 +136,15 @@ Shape signatures in builder refreshed for:: "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index 2ebc155a55062..bcb6f3eacdf2e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -160,15 +160,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, @@ -506,7 +506,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index 8d09ea1c1290a..3bbfd21462de3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -161,15 +161,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js | Dts" ], [ "../src/main.ts", - "Full" + "Js | Dts" ], [ "../src/other.ts", - "Full" + "Js | Dts" ] ] }, @@ -539,7 +539,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js | Dts" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js index c99d0d190ee62..0b0d3590f271d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js @@ -159,15 +159,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, @@ -503,7 +503,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index 091a018fffbb0..86afa2675cf4e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -160,15 +160,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js | Dts" ], [ "../src/main.ts", - "Full" + "Js | Dts" ], [ "../src/other.ts", - "Full" + "Js | Dts" ] ] }, @@ -536,7 +536,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js | Dts" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js index e26bf351dd6d6..4c3e9f6f0f06b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js @@ -159,15 +159,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js" ], [ "../src/main.ts", - "Full" + "Js" ], [ "../src/other.ts", - "Full" + "Js" ] ] }, @@ -503,7 +503,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js" ] ] }, diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 3b95dce1a251b..27a1bd2d03303 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -160,15 +160,15 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../shared/types/db.ts", - "Full" + "Js | Dts" ], [ "../src/main.ts", - "Full" + "Js | Dts" ], [ "../src/other.ts", - "Full" + "Js | Dts" ] ] }, @@ -536,7 +536,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "../src/main.ts", - "Full" + "Js | Dts" ] ] }, diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js index 67a55b5f257e4..11e9381d766ea 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -349,8 +349,16 @@ Input:: } } -//// [/user/username/projects/sample1/core/anotherModule.js] file written with same contents -//// [/user/username/projects/sample1/core/index.js] file written with same contents +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; + + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; + + //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} @@ -424,7 +432,7 @@ Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... -[12:01:19 AM] Found 0 errors. Watching for file changes. +[12:01:28 AM] Found 0 errors. Watching for file changes. @@ -438,8 +446,14 @@ Program files:: /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts -No shapes updated in the builder:: +Shape signatures in builder refreshed for:: +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) Dependencies for:: /a/lib/lib.d.ts: @@ -484,3 +498,82 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined +//// [/user/username/projects/sample1/logic/index.js.map] file written with same contents +//// [/user/username/projects/sample1/logic/index.js] file written with same contents +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileNamesList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ], + [ + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "exportedModulesMap": { + "./index.ts": [ + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../../../../a/lib/lib.d.ts", + "../core/anothermodule.d.ts", + "../core/index.d.ts", + "./index.ts" + ], + "latestChangedDtsFile": "./index.d.ts" + }, + "version": "FakeTSVersion", + "size": 1432 +} + diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index ea6d9d4b816b2..aa0ef7922d29d 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -112,11 +112,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -349,7 +349,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ] ], "latestChangedDtsFile": "./other.d.ts" diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index 98ddd728a07ac..8611b119cfb0e 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -112,11 +112,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -363,7 +363,7 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ] ], "latestChangedDtsFile": "./other.d.ts" diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index f1bf39e382a95..a0dddd9e0b78c 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -130,11 +130,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -263,11 +263,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index 60bee4d64df93..8706e836ebbc6 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -130,11 +130,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -270,11 +270,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index d0162ba75893f..ff7a4711e8a28 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -130,11 +130,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./main.ts", - "Full" + "Js | Dts" ], [ "./other.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -197,7 +197,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[2,3],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -247,18 +247,22 @@ exitCode:: ExitStatus.undefined ], "affectedFilesPendingEmit": [ [ - "./main.ts", - "Full" + [ + "./main.ts" + ], + "Js" ], [ - "./other.ts", - "Full" + [ + "./other.ts" + ], + "Js" ] ], "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 931 + "size": 939 } //// [/user/username/projects/myproject/main.d.ts] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js index 59a90fce7550d..83a61af68b32c 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js @@ -136,7 +136,7 @@ declare module "b" { //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","pendingEmit":1},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { @@ -171,10 +171,14 @@ declare module "b" { "outFile": "./outFile.js" }, "outSignature": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n", - "latestChangedDtsFile": "./outFile.d.ts" + "latestChangedDtsFile": "./outFile.d.ts", + "pendingEmit": [ + "Js", + 1 + ] }, "version": "FakeTSVersion", - "size": 643 + "size": 659 } //// [/user/username/projects/myproject/outFile.tsbuildinfo.baseline.txt] @@ -227,6 +231,105 @@ exitCode:: ExitStatus.undefined Change:: Emit all files Input:: +//// [/user/username/projects/myproject/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"js":{"sections":[{"pos":0,"end":326,"kind":"text"}],"hash":"13183887368-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 10;\n});\n"},"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./", + "sourceFiles": [ + "./a.ts", + "./b.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 326, + "kind": "text" + } + ], + "hash": "13183887368-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 10;\n});\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 96, + "kind": "text" + } + ], + "hash": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n" + } + }, + "program": { + "fileNames": [ + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "./a.ts": "-10726455937-export const x = 10;", + "./b.ts": "-13729955264-export const y = 10;" + }, + "options": { + "composite": true, + "outFile": "./outFile.js" + }, + "outSignature": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1073 +} + +//// [/user/username/projects/myproject/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /user/username/projects/myproject/outFile.js +---------------------------------------------------------------------- +text: (0-326) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.x = void 0; + exports.x = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.y = void 0; + exports.y = 10; +}); + +====================================================================== +====================================================================== +File:: /user/username/projects/myproject/outFile.d.ts +---------------------------------------------------------------------- +text: (0-96) +declare module "a" { + export const x = 10; +} +declare module "b" { + export const y = 10; +} + +====================================================================== + +//// [/user/username/projects/myproject/outFile.js] +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.x = void 0; + exports.x = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.y = void 0; + exports.y = 10; +}); + + Output:: diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js index f45cda69f0948..24e05f98182b6 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js @@ -139,11 +139,11 @@ exitCode:: ExitStatus.undefined "affectedFilesPendingEmit": [ [ "./a.ts", - "Full" + "Js | Dts" ], [ "./b.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ @@ -208,7 +208,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"module":2,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"module":2,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,10 +257,24 @@ exitCode:: ExitStatus.undefined "./a.ts", "./b.ts" ], + "affectedFilesPendingEmit": [ + [ + [ + "./a.ts" + ], + "Js" + ], + [ + [ + "./b.ts" + ], + "Js" + ] + ], "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 898 + "size": 939 } //// [/user/username/projects/myproject/a.d.ts] @@ -304,6 +318,80 @@ exitCode:: ExitStatus.undefined Change:: Emit all files Input:: +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"options":{"composite":true,"module":2,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} + +//// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "fileInfos": { + "../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \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; }", + "signature": "-7698705165-/// \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; }", + "affectsGlobalScope": true + }, + "./a.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./b.ts": { + "original": { + "version": "-13729955264-export const y = 10;", + "signature": "-7152472870-export declare const y = 10;\n" + }, + "version": "-13729955264-export const y = 10;", + "signature": "-7152472870-export declare const y = 10;\n" + } + }, + "options": { + "composite": true, + "module": 2, + "noEmitOnError": true + }, + "referencedMap": {}, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../../../a/lib/lib.d.ts", + "./a.ts", + "./b.ts" + ], + "latestChangedDtsFile": "./b.d.ts" + }, + "version": "FakeTSVersion", + "size": 898 +} + +//// [/user/username/projects/myproject/a.js] +define(["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.x = void 0; + exports.x = 10; +}); + + +//// [/user/username/projects/myproject/b.js] +define(["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.y = void 0; + exports.y = 10; +}); + + Output:: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 9f2bb06215bb1..dda78ed97a6a0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -181,11 +181,11 @@ export declare function foo(): void; "affectedFilesPendingEmit": [ [ "../../src/program/bar.ts", - "Full" + "Js | Dts" ], [ "../../src/program/index.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index cf1b60ab00a35..f27574a895d78 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -181,11 +181,11 @@ export declare function foo(): void; "affectedFilesPendingEmit": [ [ "../../src/program/bar.ts", - "Full" + "Js | Dts" ], [ "../../src/program/index.ts", - "Full" + "Js | Dts" ] ], "emitSignatures": [ From 9950d25bdf7fc4cc64b3df4ccdd072a2e6bea1e0 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 21 Oct 2022 12:58:16 -0700 Subject: [PATCH 07/11] Do not include sourceMapUrl text in the sourceFile version --- src/compiler/sourcemap.ts | 5 +- src/compiler/tsbuildPublic.ts | 2 +- src/compiler/watch.ts | 40 +++- .../non-module-projects-without-prepend.js | 28 +-- .../always-builds-under-with-force-option.js | 24 +-- .../building-using-buildReferencedProject.js | 12 +- ...uilding-using-getNextInvalidatedProject.js | 24 +-- ...rectly-when-declarationDir-is-specified.js | 24 +-- ...ilds-correctly-when-outDir-is-specified.js | 24 +-- .../sample1/builds-till-project-specified.js | 12 +- .../can-detect-when-and-what-to-rebuild.js | 24 +-- ...t-in-not-build-order-doesnt-throw-error.js | 24 +-- .../sample1/cleans-till-project-specified.js | 24 +-- ...ojects-if-upstream-projects-have-errors.js | 12 +- .../reference/tsbuild/sample1/explainFiles.js | 48 ++--- ...it-would-skip-builds-during-a-dry-build.js | 24 +-- .../sample1/invalidates-projects-correctly.js | 60 +++--- .../tsbuild/sample1/listEmittedFiles.js | 48 ++--- .../reference/tsbuild/sample1/listFiles.js | 48 ++--- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 48 ++--- ...uilds-from-start-if-force-option-is-set.js | 24 +-- ...uilds-when-extended-config-file-changes.js | 36 ++-- .../sample1/removes-all-files-it-built.js | 24 +-- .../reference/tsbuild/sample1/sample.js | 72 +++---- ...en-declarationMap-changes-discrepancies.js | 178 ------------------ .../sample1/when-declarationMap-changes.js | 24 +-- .../when-esModuleInterop-option-changes.js | 36 ++-- ...ot-change-but-its-modified-time-changes.js | 24 +-- .../when-logic-specifies-tsBuildInfoFile.js | 24 +-- .../creates-solution-in-watch-mode.js | 24 +-- .../incremental-updates-in-verbose-mode.js | 60 +++--- .../when-preserveWatchOutput-is-not-used.js | 36 ++-- ...veWatchOutput-is-passed-on-command-line.js | 36 ++-- ...-references-watches-only-those-projects.js | 12 +- ...tches-config-files-that-are-not-present.js | 24 +-- ...le-is-added,-and-its-subsequent-updates.js | 24 +-- ...hanges-and-reports-found-errors-message.js | 96 +++++----- ...not-start-build-of-referencing-projects.js | 24 +-- .../on-sample-project.js | 84 ++++----- ...n-declarationMap-changes-for-dependency.js | 101 +--------- ...nced-project-and-using-declaration-maps.js | 8 +- ...ot-file-is-file-from-referenced-project.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- .../configHasNoReference/rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../usage-file-changes.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- ...rce-changes-with-timeout-before-request.js | 8 +- .../dependency-source-changes.js | 8 +- .../configWithReference/rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../configWithReference/usage-file-changes.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- .../disabledSourceRef/rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../disabledSourceRef/usage-file-changes.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- .../goToDef-and-rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../usage-file-changes.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- ...rce-changes-with-timeout-before-request.js | 8 +- .../dependency-source-changes.js | 8 +- .../gotoDef-and-rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../configWithReference/usage-file-changes.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- .../gotoDef-and-rename-locations.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../disabledSourceRef/usage-file-changes.js | 8 +- .../can-go-to-definition-correctly.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../usage-file-changes.js | 8 +- .../can-go-to-definition-correctly.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- ...rce-changes-with-timeout-before-request.js | 8 +- .../dependency-source-changes.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../configWithReference/usage-file-changes.js | 8 +- .../can-go-to-definition-correctly.js | 8 +- ...dts-changes-with-timeout-before-request.js | 8 +- .../dependency-dts-changes.js | 8 +- .../dependency-dts-created.js | 8 +- .../dependency-dts-deleted.js | 8 +- .../dependency-dts-not-present.js | 8 +- ...Map-changes-with-timeout-before-request.js | 8 +- .../dependency-dtsMap-changes.js | 8 +- .../dependency-dtsMap-created.js | 8 +- .../dependency-dtsMap-deleted.js | 8 +- .../dependency-dtsMap-not-present.js | 8 +- ...ile-changes-with-timeout-before-request.js | 8 +- .../disabledSourceRef/usage-file-changes.js | 8 +- 165 files changed, 1146 insertions(+), 1372 deletions(-) delete mode 100644 tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js diff --git a/src/compiler/sourcemap.ts b/src/compiler/sourcemap.ts index af22d1905e87f..36a0fd925e2af 100644 --- a/src/compiler/sourcemap.ts +++ b/src/compiler/sourcemap.ts @@ -322,9 +322,10 @@ namespace ts { } // Sometimes tools can see the following line as a source mapping url comment, so we mangle it a bit (the [M]) - const sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; + export const sourceMapCommentRegExpDontCareLineStart = /\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; + export const sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; - const whitespaceOrMapCommentRegExp = /^\s*(\/\/[@#] .*)?$/; + export const whitespaceOrMapCommentRegExp = /^\s*(\/\/[@#] .*)?$/; export interface LineInfo { getLineCount(): number; diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index a9797ec68530a..4f8cf36a2bc70 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -1670,7 +1670,7 @@ namespace ts { if (!buildInfoVersionMap) buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath!, host); version = buildInfoVersionMap.get(toPath(state, inputFile)); const text = version ? state.readFileWithCache(inputFile) : undefined; - currentVersion = text && (host.createHash || generateDjb2Hash)(text); + currentVersion = text && getSourceFileVersionAsHashFromText(host, text); if (version && version === currentVersion) pseudoInputUpToDate = true; } diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index d1851cd02cd08..6a47526b086b7 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -659,13 +659,49 @@ namespace ts { } } + export function getSourceFileVersionAsHashFromText(host: Pick, text: string) { + if (text.match(sourceMapCommentRegExpDontCareLineStart)) { + let lineEnd = text.length; + let lineStart = lineEnd; + for (let pos = lineEnd - 1; pos >= 0; pos--) { + const ch = text.charCodeAt(pos); + switch (ch) { + case CharacterCodes.lineFeed: + if (pos && text.charCodeAt(pos - 1) === CharacterCodes.carriageReturn) { + pos--; + } + // falls through + case CharacterCodes.carriageReturn: + break; + default: + if (ch < CharacterCodes.maxAsciiCharacter || !isLineBreak(ch)) { + lineStart = pos; + continue; + } + break; + } + // This is start of the line + const line = text.substring(lineStart, lineEnd); + if (line.match(sourceMapCommentRegExp)) { + text = text.substring(0, lineStart); + break; + } + // If we see a non-whitespace/map comment-like line, break, to avoid scanning up the entire file + else if (!line.match(whitespaceOrMapCommentRegExp)){ + break; + } + lineEnd = lineStart; + } + } + return (host.createHash || generateDjb2Hash)(text); + } + export function setGetSourceFileAsHashVersioned(compilerHost: CompilerHost, host: { createHash?(data: string): string; }) { const originalGetSourceFile = compilerHost.getSourceFile; - const computeHash = maybeBind(host, host.createHash) || generateDjb2Hash; compilerHost.getSourceFile = (...args) => { const result = originalGetSourceFile.call(compilerHost, ...args); if (result) { - result.version = computeHash(result.text); + result.version = getSourceFileVersionAsHashFromText(host, result.text); } return result; }; 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 2c2a5845bf28e..2ba99351e23b0 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 @@ -402,7 +402,7 @@ c.doSomething(); {"version":3,"file":"third_part1.js","sourceRoot":"","sources":["third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map","affectsGlobalScope":true},{"version":"-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map","affectsGlobalScope":true},{"version":"6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","signature":"2394638288-declare var c: C;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"latestChangedDtsFile":"./third_part1.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-5732730923-declare function f(): string;\r\n","affectsGlobalScope":true},{"version":"-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n","affectsGlobalScope":true},{"version":"1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n","affectsGlobalScope":true},{"version":"10470273651-var c = new C();\r\nc.doSomething();\r\n","signature":"2394638288-declare var c: C;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"latestChangedDtsFile":"./third_part1.d.ts"},"version":"FakeTSVersion"} //// [/src/third/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -428,11 +428,11 @@ c.doSomething(); }, "../first/first_part1.d.ts": { "original": { - "version": "-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map", + "version": "-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n", "affectsGlobalScope": true }, - "version": "-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map", - "signature": "-17939996161-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n//# sourceMappingURL=first_PART1.d.ts.map", + "version": "-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n", + "signature": "-12382020913-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n", "affectsGlobalScope": true }, "../first/first_part2.d.ts": { @@ -441,29 +441,29 @@ c.doSomething(); }, "../first/first_part3.d.ts": { "original": { - "version": "-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map", + "version": "-5732730923-declare function f(): string;\r\n", "affectsGlobalScope": true }, - "version": "-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map", - "signature": "-4577888121-declare function f(): string;\r\n//# sourceMappingURL=first_part3.d.ts.map", + "version": "-5732730923-declare function f(): string;\r\n", + "signature": "-5732730923-declare function f(): string;\r\n", "affectsGlobalScope": true }, "../second/second_part1.d.ts": { "original": { - "version": "-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map", + "version": "-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n", "affectsGlobalScope": true }, - "version": "-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map", - "signature": "-3134340341-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n//# sourceMappingURL=second_part1.d.ts.map", + "version": "-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n", + "signature": "-4200194009-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\n", "affectsGlobalScope": true }, "../second/second_part2.d.ts": { "original": { - "version": "6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map", + "version": "1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n", "affectsGlobalScope": true }, - "version": "6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map", - "signature": "6579734441-declare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second_part2.d.ts.map", + "version": "1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n", + "signature": "1950347108-declare class C {\r\n doSomething(): void;\r\n}\r\n", "affectsGlobalScope": true }, "./third_part1.ts": { @@ -500,6 +500,6 @@ c.doSomething(); "latestChangedDtsFile": "./third_part1.d.ts" }, "version": "FakeTSVersion", - "size": 1855 + "size": 1689 } diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 5f688d4677126..ce0103fa1ea59 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -239,7 +239,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -270,12 +270,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -312,7 +312,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -333,7 +333,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,12 +366,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -419,7 +419,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 21e3b9c08e0d4..a6cf6882f1cdf 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -251,7 +251,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -282,12 +282,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -324,6 +324,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index f158085c722db..6617d916099a9 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -221,7 +221,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -252,12 +252,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -294,7 +294,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1507 + "size": 1429 } @@ -319,7 +319,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -352,12 +352,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -405,7 +405,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1652 + "size": 1574 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index c64584b7724f1..ea8f4a50431fa 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -227,7 +227,7 @@ export declare const m: typeof mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./out/decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./out/decls/index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -258,12 +258,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -300,7 +300,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./out/decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1607 + "size": 1528 } //// [/src/tests/index.d.ts] @@ -321,7 +321,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -354,12 +354,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/out/decls/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -407,6 +407,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1750 + "size": 1671 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index 48d46b62a0fe5..61686fcbdf1ae 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -227,7 +227,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -258,12 +258,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../index.ts": { "original": { @@ -300,7 +300,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1590 + "size": 1511 } //// [/src/tests/index.d.ts] @@ -321,7 +321,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -354,12 +354,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/outdir/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -407,6 +407,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1747 + "size": 1668 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index 72385b2c64cbd..31e46ba6ae7b0 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -239,7 +239,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -270,12 +270,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -312,6 +312,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index af0029d34a9bd..652ae957cc9b4 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index 8ee708bf27509..6c163d51280b7 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index c9832a8d348be..f8425d14ea320 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 8a3906810710e..2a45f24ce8ca7 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -242,7 +242,7 @@ exports.multiply = multiply; } //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6409874073-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.muitply();\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":87,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/src/core/index\")'."}]]],"affectedFilesPendingEmit":[4],"emitSignatures":[4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6409874073-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.muitply();\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n"],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,1]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":87,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/src/core/index\")'."}]]],"affectedFilesPendingEmit":[4],"emitSignatures":[4]},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -270,12 +270,12 @@ exports.multiply = multiply; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "version": "-6409874073-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.muitply();\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", @@ -329,7 +329,7 @@ exports.multiply = multiply; ] }, "version": "FakeTSVersion", - "size": 1584 + "size": 1505 } diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index 2a28de2ffaee8..dae2c41f43d52 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -288,7 +288,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -319,12 +319,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -361,7 +361,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -382,7 +382,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -415,12 +415,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -468,7 +468,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } @@ -637,7 +637,7 @@ exports.someClass = someClass; //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -668,12 +668,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -710,12 +710,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1633 + "size": 1557 } //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -748,12 +748,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -801,7 +801,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1780 + "size": 1704 } diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 60377efefd412..90f90240ff5f1 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index b68f9dd67c1aa..aa294f8f1e56e 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -213,7 +213,7 @@ export declare const m: typeof mod; //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -244,12 +244,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -286,7 +286,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1507 + "size": 1429 } //// [/user/username/projects/tests/index.js] @@ -307,7 +307,7 @@ export declare const m: typeof mod; //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -393,7 +393,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1652 + "size": 1574 } @@ -428,7 +428,7 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -459,12 +459,12 @@ function foo() { } "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -501,7 +501,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1524 + "size": 1446 } @@ -554,7 +554,7 @@ export declare class cNew { //// [/user/username/projects/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -585,12 +585,12 @@ export declare class cNew { "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -627,7 +627,7 @@ export declare class cNew { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1577 + "size": 1499 } @@ -636,7 +636,7 @@ Output:: //// [/user/username/projects/tests/index.js] file written with same contents //// [/user/username/projects/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -669,12 +669,12 @@ Output:: "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", @@ -722,6 +722,6 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1685 + "size": 1607 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 37b3e566758b2..405997c1501c9 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -253,7 +253,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -284,12 +284,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -326,7 +326,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -347,7 +347,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -380,12 +380,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -433,7 +433,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } @@ -562,7 +562,7 @@ exports.someClass = someClass; //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -593,12 +593,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -635,12 +635,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1633 + "size": 1557 } //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -673,12 +673,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -726,7 +726,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1780 + "size": 1704 } diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 609ba05e9b3c3..f63919d67026d 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -252,7 +252,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -283,12 +283,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -325,7 +325,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -346,7 +346,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -379,12 +379,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -432,7 +432,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } @@ -565,7 +565,7 @@ exports.someClass = someClass; //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -596,12 +596,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -638,12 +638,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1633 + "size": 1557 } //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -676,12 +676,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -729,7 +729,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1780 + "size": 1704 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 51f0f4b23af3b..2d78c4202eb8b 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] @@ -517,7 +517,7 @@ exitCode:: ExitStatus.Success //// [/src/logic/index.js] file written with same contents //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -548,12 +548,12 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -590,13 +590,13 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1600 + "size": 1521 } //// [/src/tests/index.d.ts] file written with same contents //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -629,12 +629,12 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -682,6 +682,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1747 + "size": 1668 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index 5d9b2b68fe508..3ff49505c57e5 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 3ada56b48ad05..dc3f8a389bd1e 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -259,7 +259,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -290,12 +290,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -332,7 +332,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -353,7 +353,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":0},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -386,12 +386,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -440,7 +440,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1751 + "size": 1672 } @@ -472,7 +472,7 @@ exitCode:: ExitStatus.Success //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -505,12 +505,12 @@ exitCode:: ExitStatus.Success "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -558,6 +558,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 1e3523eaf8504..678e69bbe9490 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -187,7 +187,7 @@ export const m = mod; //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,12 +218,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -260,7 +260,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -307,7 +307,7 @@ export const m = mod; } //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -340,12 +340,12 @@ export const m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -393,7 +393,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } //// [/src/ui/index.ts] diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index dc3df7a77c4e2..72d54587ae5dc 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -543,7 +543,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -574,12 +574,12 @@ sourceFile:index.ts "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -616,7 +616,7 @@ sourceFile:index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -637,7 +637,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -670,12 +670,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -723,7 +723,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } @@ -1011,7 +1011,7 @@ exports.someClass = someClass; //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/index.js.map.baseline.txt] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1042,12 +1042,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -1084,12 +1084,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1633 + "size": 1557 } //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1122,12 +1122,12 @@ exports.someClass = someClass; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -1175,7 +1175,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1780 + "size": 1704 } @@ -1411,7 +1411,7 @@ export declare const m: typeof mod; //// [/src/logic/index.js.map] file written with same contents //// [/src/logic/index.js.map.baseline.txt] file written with same contents //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1442,12 +1442,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -1485,12 +1485,12 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1666 + "size": 1590 } //// [/src/tests/index.js] file written with same contents //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1523,12 +1523,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-2069755619-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n//# sourceMappingURL=index.d.ts.map" + "version": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n", + "signature": "-14636110300-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\nexport declare class someClass {\r\n}\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/decls/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -1576,7 +1576,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1786 + "size": 1710 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js deleted file mode 100644 index dd838d5661dbf..0000000000000 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes-discrepancies.js +++ /dev/null @@ -1,178 +0,0 @@ -0:: Disable declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/logic/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "../core/index.d.ts": { - "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" - }, - "../core/anothermodule.d.ts": { - "version": "-8396256275-export declare const World = \"hello\";\r\n" - }, - "./index.ts": { - "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true, - "sourceMap": true - }, - "referencedMap": { - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "./index.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" - }, - "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" - }, - "./index.ts": { - "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true, - "sourceMap": true - }, - "referencedMap": { - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "./index.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -TsBuild info text without affectedFilesPendingEmit:: /src/tests/tsconfig.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "../core/index.d.ts": { - "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" - }, - "../core/anothermodule.d.ts": { - "version": "-8396256275-export declare const World = \"hello\";\r\n" - }, - "../logic/index.d.ts": { - "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" - }, - "./index.ts": { - "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true - }, - "referencedMap": { - "../logic/index.d.ts": [ - "../core/anothermodule.d.ts" - ], - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "../logic/index.d.ts", - "./index.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "program": { - "fileInfos": { - "../../lib/lib.d.ts": { - "version": "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; };", - "affectsGlobalScope": true - }, - "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" - }, - "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" - }, - "../logic/index.d.ts": { - "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n" - }, - "./index.ts": { - "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true - }, - "referencedMap": { - "../logic/index.d.ts": [ - "../core/anothermodule.d.ts" - ], - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "../logic/index.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "../logic/index.d.ts", - "./index.ts" - ], - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js index 701a5b7341ca2..c85cb079e9aa9 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -256,7 +256,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -287,12 +287,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -329,7 +329,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -350,7 +350,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -383,12 +383,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -436,7 +436,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index 25c748c601c59..86f9afbf0c92b 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -257,7 +257,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -288,12 +288,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -330,7 +330,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -351,7 +351,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -384,12 +384,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -438,7 +438,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1764 + "size": 1685 } @@ -517,7 +517,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -550,12 +550,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -604,6 +604,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1763 + "size": 1684 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js index daf2c1e4e1ace..21db97896f3d0 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -256,7 +256,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/src/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -287,12 +287,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -329,7 +329,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1514 } //// [/src/tests/index.d.ts] @@ -350,7 +350,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -383,12 +383,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -436,7 +436,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 52a5200063308..26865ce764e28 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -544,7 +544,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/src/logic/ownFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/logic/ownFile.tsbuildinfo.readable.baseline.txt] { @@ -575,12 +575,12 @@ sourceFile:index.ts "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "./index.ts": { "original": { @@ -618,7 +618,7 @@ sourceFile:index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1635 + "size": 1556 } //// [/src/tests/index.d.ts] @@ -639,7 +639,7 @@ exports.m = mod; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},"1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n","-8396256275-export declare const World = \"hello\";\r\n","-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9209611-import * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -672,12 +672,12 @@ exports.m = mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map", - "signature": "-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map" + "version": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n", + "signature": "1874987148-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n" }, "../core/anothermodule.d.ts": { - "version": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-8396256275-export declare const World = \"hello\";\r\n", + "signature": "-8396256275-export declare const World = \"hello\";\r\n" }, "../logic/index.d.ts": { "version": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n", @@ -725,6 +725,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1661 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 35592e1c37939..09fb77065b4b1 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -314,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +345,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -387,7 +387,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -408,7 +408,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -441,12 +441,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -494,6 +494,6 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 697c6be757a58..9f4697976fd5d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -331,7 +331,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,12 +362,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -404,7 +404,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -425,7 +425,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -458,12 +458,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -511,7 +511,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -604,7 +604,7 @@ function someFn() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"937092231-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"937092231-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -635,12 +635,12 @@ function someFn() { } "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -677,7 +677,7 @@ function someFn() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1531 + "size": 1453 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -797,7 +797,7 @@ export declare function someFn(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-3093967383-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-3093967383-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -828,12 +828,12 @@ export declare function someFn(): void; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -870,12 +870,12 @@ export declare function someFn(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1581 + "size": 1503 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -908,12 +908,12 @@ export declare function someFn(): void; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", @@ -961,6 +961,6 @@ export declare function someFn(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1696 + "size": 1618 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 1dbac0efdd9f5..9487d59d3831b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -314,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +345,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -387,7 +387,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -408,7 +408,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -441,12 +441,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -494,7 +494,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -567,7 +567,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -598,12 +598,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -658,7 +658,7 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1702 + "size": 1624 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 4a39f556b0da4..c09b6365a4745 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -313,7 +313,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -344,12 +344,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -386,7 +386,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -407,7 +407,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -440,12 +440,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -493,7 +493,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -565,7 +565,7 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5445152744-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,[4,[{"file":"./index.ts","start":184,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -596,12 +596,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -656,7 +656,7 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1702 + "size": 1624 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 497c189396b11..63dbfda04903a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -286,7 +286,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -317,12 +317,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -359,6 +359,6 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 4031e4849748b..58debfdbbbf8c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -308,7 +308,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -339,12 +339,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } @@ -462,7 +462,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -495,12 +495,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -548,6 +548,6 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 25429e72f3dc2..5731644363092 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -314,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +345,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -387,7 +387,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -408,7 +408,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -441,12 +441,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -494,7 +494,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 4dafa39ec2f89..2b76f814ab9f5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -314,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +345,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -387,7 +387,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -408,7 +408,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -441,12 +441,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -494,7 +494,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -714,7 +714,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -745,12 +745,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map", - "signature": "-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map" + "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -787,12 +787,12 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1547 + "size": 1469 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -825,12 +825,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map", - "signature": "-1428376100-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n//# sourceMappingURL=index.d.ts.map" + "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -878,7 +878,7 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1692 + "size": 1614 } @@ -1089,7 +1089,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1120,12 +1120,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -1162,12 +1162,12 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1200,12 +1200,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -1253,7 +1253,7 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -1482,7 +1482,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1513,12 +1513,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map", - "signature": "-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map" + "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -1555,12 +1555,12 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1585 + "size": 1507 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1593,12 +1593,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map", - "signature": "-8987447092-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n//# sourceMappingURL=index.d.ts.map" + "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -1646,6 +1646,6 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1730 + "size": 1652 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index f55bf11eeb26d..8c3959a2025a2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -314,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,12 +345,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -387,7 +387,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -408,7 +408,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -441,12 +441,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -494,7 +494,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 2e7f98d2cd2f3..4487e1fd4dab1 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -211,7 +211,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -242,12 +242,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -284,7 +284,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } //// [/user/username/projects/sample1/tests/index.js] @@ -305,7 +305,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -338,12 +338,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", @@ -391,7 +391,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1655 + "size": 1577 } @@ -501,7 +501,7 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-4111660551-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -532,12 +532,12 @@ function foo() { } "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -574,7 +574,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1528 + "size": 1450 } @@ -652,7 +652,7 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -683,12 +683,12 @@ export declare function gfoo(): void; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -725,7 +725,7 @@ export declare function gfoo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1593 + "size": 1515 } @@ -809,7 +809,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -842,12 +842,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", @@ -895,7 +895,7 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1695 + "size": 1617 } @@ -922,7 +922,7 @@ exports.gfoo = gfoo; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -953,12 +953,12 @@ exports.gfoo = gfoo; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -994,7 +994,7 @@ exports.gfoo = gfoo; "latestChangedDtsFile": "./decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1582 + "size": 1504 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -1085,7 +1085,7 @@ exitCode:: ExitStatus.undefined //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1118,12 +1118,12 @@ exitCode:: ExitStatus.undefined "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/decls/index.d.ts": { "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", @@ -1171,6 +1171,6 @@ exitCode:: ExitStatus.undefined "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1701 + "size": 1623 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js index 11e9381d766ea..a1c1333d05d67 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -259,7 +259,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -290,12 +290,12 @@ export declare const m: typeof mod; "affectsGlobalScope": true }, "../core/index.d.ts": { - "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", - "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", - "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { @@ -332,7 +332,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1510 + "size": 1432 } @@ -432,7 +432,7 @@ Output:: >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... -[12:01:28 AM] Found 0 errors. Watching for file changes. +[12:01:19 AM] Found 0 errors. Watching for file changes. @@ -446,14 +446,8 @@ Program files:: /user/username/projects/sample1/logic/index.ts Semantic diagnostics in builder refreshed for:: -/user/username/projects/sample1/core/index.d.ts -/user/username/projects/sample1/core/anotherModule.d.ts -/user/username/projects/sample1/logic/index.ts -Shape signatures in builder refreshed for:: -/user/username/projects/sample1/core/index.d.ts (used version) -/user/username/projects/sample1/logic/index.ts (computed .d.ts) -/user/username/projects/sample1/core/anothermodule.d.ts (used version) +No shapes updated in the builder:: Dependencies for:: /a/lib/lib.d.ts: @@ -498,82 +492,3 @@ FsWatchesRecursive:: exitCode:: ExitStatus.undefined -//// [/user/username/projects/sample1/logic/index.js.map] file written with same contents -//// [/user/username/projects/sample1/logic/index.js] file written with same contents -//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} - -//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] -{ - "program": { - "fileNames": [ - "../../../../../a/lib/lib.d.ts", - "../core/index.d.ts", - "../core/anothermodule.d.ts", - "./index.ts" - ], - "fileNamesList": [ - [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ], - [ - "../core/anothermodule.d.ts" - ] - ], - "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \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; }", - "affectsGlobalScope": true - }, - "version": "-7698705165-/// \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; }", - "signature": "-7698705165-/// \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; }", - "affectsGlobalScope": true - }, - "../core/index.d.ts": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" - }, - "../core/anothermodule.d.ts": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n" - }, - "./index.ts": { - "original": { - "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" - }, - "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" - } - }, - "options": { - "composite": true, - "declaration": true, - "skipDefaultLibCheck": true, - "sourceMap": true - }, - "referencedMap": { - "./index.ts": [ - "../core/index.d.ts", - "../core/anothermodule.d.ts" - ] - }, - "exportedModulesMap": { - "./index.ts": [ - "../core/anothermodule.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../../../a/lib/lib.d.ts", - "../core/anothermodule.d.ts", - "../core/index.d.ts", - "./index.ts" - ], - "latestChangedDtsFile": "./index.d.ts" - }, - "version": "FakeTSVersion", - "size": 1432 -} - diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 01f288cb0341e..94db959486b25 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -176,7 +176,7 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[4,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,4,3],"latestChangedDtsFile":"./common/input/keyboard.test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[4,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,4,3],"latestChangedDtsFile":"./common/input/keyboard.test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -203,8 +203,8 @@ export {}; "affectsGlobalScope": true }, "./input/keyboard.d.ts": { - "version": "-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map", - "signature": "-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map" + "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/terminal.ts": { "original": { @@ -247,7 +247,7 @@ export {}; "latestChangedDtsFile": "./common/input/keyboard.test.d.ts" }, "version": "FakeTSVersion", - "size": 1374 + "size": 1336 } diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 435f17e0e2a47..367615f4c166e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -176,7 +176,7 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[4,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,4,3],"latestChangedDtsFile":"./common/input/keyboard.test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[4,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,4,3],"latestChangedDtsFile":"./common/input/keyboard.test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -203,8 +203,8 @@ export {}; "affectsGlobalScope": true }, "./input/keyboard.d.ts": { - "version": "-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map", - "signature": "-31108785029-export declare function evaluateKeyboardEvent(): void;\n//# sourceMappingURL=keyboard.d.ts.map" + "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/terminal.ts": { "original": { @@ -247,7 +247,7 @@ export {}; "latestChangedDtsFile": "./common/input/keyboard.test.d.ts" }, "version": "FakeTSVersion", - "size": 1374 + "size": 1336 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 97ea662786a2b..3fc6e9962639e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index e588d8d5ba224..6e7b87a4a11b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index 58d513a4e162c..1c37ddf4760c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index 283ce14450623..fcb7c1fa9187f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index 63924ac4b57b3..37e31d1613dc4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index db8b17ed4119b..336302aac3037 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index 4a326bcbd00d5..8e771529743dc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index a1988ff3afbd2..a498603e345af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index d0e30fddefab3..03706c8564294 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index 8f20a27c684e4..3e86b7d9e9350 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index fecf578aa2936..8e5d9db834de3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 1563bf128cc5b..d18953b0e6656 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index ca7bc3dee5a52..a8f9c7d5e51bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index df630e3b30f1a..ad0b8475f1bf2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index 85f15fc1b57bf..d0e0593b14577 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index 50db27bbf66e2..e2d5727e58540 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index 3071e553621f2..d409f921cb99d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index 0cb88bf8728b1..c1ff0cd1625bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index c4c6485d951ed..5885fc72a5b53 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index a56d5f63cffbe..d547e81205081 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index b2f15738aeae6..cf3bd727cece4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index 2a5382fb8da29..b3cb54c5f63c8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index a531bf1a04de5..b4a57c4261c88 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index 6bc6fc622d6da..102403d961547 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 8dc46001ee714..ea4df39ffee30 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index bb337ab902d72..44f391ee26f81 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index 110a70e1b48b7..97f17072a89ae 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index 2f16affc78aa7..ca10b07c0febe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 127bc20fed363..9ef6df30ed70d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index 3a103f54c8d7f..984244fbba29b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index 3bd81edc3a19e..da865620775a5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index 52f83ccf42b8d..8e925fd191220 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index 7315454cb7e24..cac45fda63daf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index ffe7407eaf091..b9cff2437ecef 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index 1437fd4e59d06..990b587564f32 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index dc6ffa7eabd76..09d7595bb5def 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index 38c539410f222..9f1a7623a0b47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index acf247fd1c237..28a806e9179f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index fae1019a7e127..7f2fe94ea81de 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 2f18dbe4a0a6d..185776741d4bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index c6e46340c9f22..3ba2e64b74fbe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 7f8698884a6f8..b9fb73a3b8f16 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index a8bfc1cb61744..ae49bdc7452da 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 30983ec6b6061..8542b694eaa8f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index a34ac077483a2..0855bd71341b6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index cee23a29809e6..4fb82eca5b62f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index df083b190f771..a280a3b0d2085 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 764ff81b9e3aa..27ce71ac68a2f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index f37fac7fd4440..46110759161c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index a8325a35ce3c0..2eb2ab20aa7c0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index ce20f5fa4f452..13a3490a53b02 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 5b10c62cb246c..ca64d2c6aff65 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 455d100e55e88..32daacb43a283 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index da3e2aae276d1..71b6a5e805dba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 5c6f7ca456f28..b15651d2aa93f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index b9accf947552f..3e9ea5ff38750 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 3ea1471a23154..4a0671a85ea3d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index 03d2300032c5c..ad79139f32b1c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index 0edc439db5cb8..40ada082d7974 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index cb46eb7c1fa7a..952fd60cd1521 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 774a83c75aba1..23358e9680147 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index ee83389a59aa9..3a1a53fb699b2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 7ace36e78054f..1b9e8c853906c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 06aae7e67a892..b704bb40e7668 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index ad5a60767cf38..c73d6f77e99b9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index 32f1a21313f67..08f3c99878785 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js index e0996661636fd..62623a99ade02 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index ea33fb2e7c52f..e318b4b08c7f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index e241c7d9e5b12..5f02d971c716e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 946393d509973..4a5fe032dcf13 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 608fdf2872fdf..8a459354b1a62 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 476e505486bfd..72ab712188539 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index fd4826ff62226..e120ddcc2f48c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index 78ddcbbee273c..ebba9c4e2187b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 369c888139c56..922fb418146b2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index c1e06ef1d8716..e118b9a8f4e25 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 03cdfa49b3043..cf5ed1c26d319 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 06a0fdbfef291..b403982de75ee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index e679380aec827..485398dc3c2a6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js index 48e301f0b2c7a..e8c9946d7494f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index d7a97f16a2bbc..2ca16fc09a12f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 2e5665ea7e040..4c1d19d111018 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index b599501d368c8..9d15ede4f8dfc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 4362024746831..dc518c1bccf22 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index b2c677de98981..01c574bab386d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index a5a08d263ed78..561c6ad4a3784 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index 9331a5ad8aadd..c846031053106 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index 7ca2f8a572ad4..80565c603ae38 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 5ddca5db61621..f76f17411f555 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index c71e98be8f788..a343ec66f04e8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index 3806f28747495..124159fe8137c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index 1ec55289e9b49..4d098da07e28a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index 117948c44d3d9..ec3b108740fd2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index e098c5b3a6416..fa4e17a35760a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index a513ea0d9e207..ca7b24f481c73 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index de0d69c0e1b5f..581ef3132344c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 9c181ca02585e..4a5e55aa51c95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js index 67521d7d45899..dc0812b6aceb0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index a7602a40af6d6..7dd7c15dc8991 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index 873e86feeb8cf..dc27f759483b1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index 685fc550a2691..6e4301bb43b16 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index ec8f74f7eabc3..00dbcd62d6c13 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js index e1c79fc337bc2..a507cde8907f9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index ee081b128065c..059ec3fc1c47c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index 7a9575f9e895c..16cc72e319713 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index 0b85a613a46f2..27406113cdb9e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index 60dfb407d549f..d36b70372c4dc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index 5ef3ca7b773da..94133d6cfb351 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index e7864013b5fc2..60b74b3fd947c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index 1054a9c561f02..0228421284056 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index 3060480fcc8f1..8c004351be374 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index ea5c38044ee19..85088690475fc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 2fdeb22c10066..c11626014e103 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index 6c53d5923523a..2e3d34d2982ca 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index 973fad783921e..1c56797deb7b9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index fe8ecd8c6a8f4..6b36ffb42881e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -142,7 +142,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,8 +168,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index d54f0aee34159..fdd197ad3ff69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index d9761032d5ec4..c21df8627bd88 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 46c7f761e7b32..3c7bf80e44691 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index 9f3d01853156a..e824d8bdad92b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index f1796a36f829e..35ccf2f685821 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -147,7 +147,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,8 +173,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 5c26ef343035e..2797c742f52f9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index 653971fd3832b..889273195f278 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -150,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \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; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,8 +176,8 @@ export {}; "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "version": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map", - "signature": "-18326212334-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map" + "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1151 + "size": 1118 } From b6519ce9f8c1d156cd69244f680c1635a42a7344 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 1 Nov 2022 14:16:57 -0700 Subject: [PATCH 08/11] Emit complete program in --out scenario as well since we need to determine uptodate ness --- src/compiler/builder.ts | 70 +- src/compiler/builderState.ts | 5 +- src/compiler/commandLineParser.ts | 137 +-- src/compiler/types.ts | 3 +- src/testRunner/unittests/tsbuild/helpers.ts | 24 +- .../modules-and-globals-mixed-in-amd.js | 48 +- .../multiple-emitHelpers-in-all-projects.js | 78 +- .../multiple-prologues-in-all-projects.js | 72 +- .../shebang-in-all-projects.js | 48 +- .../amdModulesWithOut/stripInternal.js | 75 +- .../triple-slash-refs-in-all-projects.js | 84 +- ...e-resolution-finds-original-source-file.js | 25 +- ...-incremental-with-outFile-discrepancies.js | 871 ++++++++++++- ...t-options-with-incremental-with-outFile.js | 262 ++-- ...rent-options-with-outFile-discrepancies.js | 488 +++++++- .../different-options-with-outFile.js | 138 ++- ...-incremental-with-outFile-discrepancies.js | 4 + ...eclaration-and-incremental-with-outFile.js | 28 +- ...-commandline-with-outFile-discrepancies.js | 10 + ...nOnly-false-on-commandline-with-outFile.js | 46 +- ...-incremental-with-outFile-discrepancies.js | 4 + ...eclaration-and-incremental-with-outFile.js | 56 +- ...-commandline-with-outFile-discrepancies.js | 16 + ...arationOnly-on-commandline-with-outFile.js | 145 ++- ...rojects-and-concatenates-them-correctly.js | 58 +- .../outFile/builds-till-project-specified.js | 12 +- .../tsbuild/outFile/clean-projects.js | 40 +- .../outFile/cleans-till-project-specified.js | 40 +- ...al-flag-changes-between-non-dts-changes.js | 80 +- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 80 +- ...erated-when-incremental-is-set-to-false.js | 24 +- ...-buildInfo-absence-results-in-new-build.js | 40 +- ...ot-change-but-its-modified-time-changes.js | 40 +- .../baseline-sectioned-sourcemaps.js | 96 +- .../declarationMap-and-sourceMap-disabled.js | 24 +- .../emitHelpers-in-all-projects.js | 124 +- ...tHelpers-in-only-one-dependency-project.js | 96 +- .../tsbuild/outfile-concat/explainFiles.js | 96 +- .../multiple-emitHelpers-in-all-projects.js | 103 +- ...tiple-emitHelpers-in-different-projects.js | 97 +- .../multiple-prologues-in-all-projects.js | 124 +- ...ultiple-prologues-in-different-projects.js | 96 +- .../outfile-concat/shebang-in-all-projects.js | 96 +- .../shebang-in-only-one-dependency-project.js | 68 +- .../outfile-concat/strict-in-all-projects.js | 124 +- .../strict-in-one-dependency.js | 96 +- ...hen-internal-is-inside-another-internal.js | 41 +- ...en-one-two-three-are-prepended-in-order.js | 123 +- .../stripInternal-jsdoc-style-comment.js | 99 +- ...en-one-two-three-are-prepended-in-order.js | 82 +- ...-jsdoc-style-with-comments-emit-enabled.js | 70 +- ...l-when-few-members-of-enum-are-internal.js | 41 +- ...en-one-two-three-are-prepended-in-order.js | 164 ++- ...nal-when-prepend-is-completely-internal.js | 18 +- ...en-one-two-three-are-prepended-in-order.js | 123 +- ...tripInternal-with-comments-emit-enabled.js | 99 +- .../tsbuild/outfile-concat/stripInternal.js | 128 +- .../triple-slash-refs-in-all-projects.js | 128 +- .../triple-slash-refs-in-one-project.js | 80 +- ...roject-is-not-composite-but-incremental.js | 40 +- ...t-composite-but-uses-project-references.js | 36 +- ...final-project-specifies-tsBuildInfoFile.js | 38 +- ...-source-files-are-empty-in-the-own-file.js | 68 +- ...ncing-project-even-for-non-local-change.js | 42 +- ...-incremental-with-outFile-discrepancies.js | 1087 ++++++++++++++++- ...t-options-with-incremental-with-outFile.js | 405 ++---- ...rent-options-with-outFile-discrepancies.js | 826 ++++++++++++- .../different-options-with-outFile.js | 478 ++------ ...nMap-changes-with-outFile-discrepancies.js | 119 ++ ...hen-declarationMap-changes-with-outFile.js | 39 +- .../with---out-incremental.js | 7 +- .../module-compilation/with---out-watch.js | 7 +- .../incremental/with---out-incremental.js | 6 +- .../tscWatch/incremental/with---out-watch.js | 6 +- ...ting-with-emitOnlyDtsFiles-with-outFile.js | 16 +- ...-as-project-build-with-external-project.js | 16 +- .../ancestor-and-project-ref-management.js | 14 +- ...ssfully-find-references-with-out-option.js | 14 +- ...oes-not-error-on-container-only-project.js | 14 +- 79 files changed, 6820 insertions(+), 2045 deletions(-) create mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 6acbef544ddee..e64bcdef6c6cf 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -281,7 +281,7 @@ namespace ts { }); // If the global file is removed, add all files as changed - if (useOldState && forEachEntry(oldState!.fileInfos, (info, sourceFilePath) => info.affectsGlobalScope && !state.fileInfos.has(sourceFilePath))) { + if (useOldState && forEachEntry(oldState!.fileInfos, (info, sourceFilePath) => (outFilePath || info.affectsGlobalScope) && !state.fileInfos.has(sourceFilePath))) { BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, /*firstSourceFile*/ undefined) .forEach(file => addFileToChangeSet(state, file.resolvedPath)); } @@ -312,6 +312,10 @@ namespace ts { } } } + // If this program has prepend references, always emit since we wont know if files on disk are correct unless we check file hash for correctness + if (outFilePath && !state.changedFilesSet.size && some(newProgram.getProjectReferences(), ref => !!ref.prepend)) { + state.programEmitPending = getBuilderFileEmit(compilerOptions); + } return state; } @@ -849,7 +853,7 @@ namespace ts { */ export type ProgramBuilderInfoFilePendingEmit = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId] | [fileId: ProgramBuildInfoFileId, emitKind: BuilderFileEmit]; export type ProgramBuildInfoReferencedMap = [fileId: ProgramBuildInfoFileId, fileIdListId: ProgramBuildInfoFileIdListId][]; - export type ProgramBuildInfoBuilderStateFileInfo = Omit & { + export type ProgramMultiFileEmitBuildInfoBuilderStateFileInfo = Omit & { /** * Signature is * - undefined if FileInfo.version === FileInfo.signature @@ -864,12 +868,12 @@ namespace ts { */ export type ProgramBuildInfoEmitSignature = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId, signature: string]; /** - * ProgramBuildInfoFileInfo is string if FileInfo.version === FileInfo.signature && !FileInfo.affectsGlobalScope otherwise encoded FileInfo + * ProgramMultiFileEmitBuildInfoFileInfo is string if FileInfo.version === FileInfo.signature && !FileInfo.affectsGlobalScope otherwise encoded FileInfo */ - export type ProgramBuildInfoFileInfo = string | ProgramBuildInfoBuilderStateFileInfo; + export type ProgramMultiFileEmitBuildInfoFileInfo = string | ProgramMultiFileEmitBuildInfoBuilderStateFileInfo; export interface ProgramMultiFileEmitBuildInfo { fileNames: readonly string[]; - fileInfos: readonly ProgramBuildInfoFileInfo[]; + fileInfos: readonly ProgramMultiFileEmitBuildInfoFileInfo[]; options: CompilerOptions | undefined; fileIdsList: readonly (readonly ProgramBuildInfoFileId[])[] | undefined; referencedMap: ProgramBuildInfoReferencedMap | undefined; @@ -882,6 +886,10 @@ namespace ts { // Because this is only output file in the program, we dont need fileId to deduplicate name latestChangedDtsFile?: string | undefined; } + /** + * ProgramBundleEmitBuildInfoFileInfo is string if !FileInfo.impliedFormat otherwise encoded FileInfo + */ + export type ProgramBundleEmitBuildInfoFileInfo = string | BuilderState.FileInfo; /** * false if it is the emit corresponding to compilerOptions * value otherwise @@ -889,7 +897,7 @@ namespace ts { export type ProgramBuildInfoBundlePendingEmit = BuilderFileEmit | false; export interface ProgramBundleEmitBuildInfo { fileNames: readonly string[]; - fileInfos: readonly string[]; + fileInfos: readonly ProgramBundleEmitBuildInfoFileInfo[]; options: CompilerOptions | undefined; outSignature: string | undefined; outSignatureDtsMapDiffers: true | undefined; @@ -911,19 +919,20 @@ namespace ts { const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); // Convert the file name to Path here if we set the fileName instead to optimize multiple d.ts file emits and having to compute Canonical path const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : undefined; + const fileNames: string[] = []; + const fileNameToFileId = new Map(); if (outFile(state.compilerOptions)) { - const fileNames: string[] = []; - const fileInfos: string[] = []; - state.program!.getRootFileNames().forEach(f => { - const sourceFile = state.program!.getSourceFile(f); - if (!sourceFile) return; - fileNames.push(relativeToBuildInfo(sourceFile.resolvedPath)); - fileInfos.push(sourceFile.version); + const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBundleEmitBuildInfoFileInfo => { + // Ensure fileId + toFileId(key); + return value.impliedFormat ? + { version: value.version, impliedFormat: value.impliedFormat, signature: undefined, affectsGlobalScope: undefined } : + value.version; }); const result: ProgramBundleEmitBuildInfo = { fileNames, fileInfos, - options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsBundleEmitBuildInfo"), + options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions), outSignature: state.outSignature, outSignatureDtsMapDiffers: state.outSignatureDtsMapDiffers, latestChangedDtsFile, @@ -936,13 +945,11 @@ namespace ts { return result; } - const fileNames: string[] = []; - const fileNameToFileId = new Map(); let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; let emitSignatureDtsMapDiffers: ProgramBuildInfoFileId[] | undefined; - const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBuildInfoFileInfo => { + const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramMultiFileEmitBuildInfoFileInfo => { // Ensure fileId const fileId = toFileId(key); Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key)); @@ -1038,7 +1045,7 @@ namespace ts { const result: ProgramMultiFileEmitBuildInfo = { fileNames, fileInfos, - options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, "affectsMultiFileEmitBuildInfo"), + options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions), fileIdsList, referencedMap, exportedModulesMap, @@ -1082,12 +1089,12 @@ namespace ts { /** * @param optionKey key of CommandLineOption to use to determine if the option should be serialized in tsbuildinfo */ - function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions, optionKey: "affectsBundleEmitBuildInfo" | "affectsMultiFileEmitBuildInfo") { + function convertToProgramBuildInfoCompilerOptions(options: CompilerOptions) { let result: CompilerOptions | undefined; const { optionsNameMap } = getOptionsNameMap(); for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) { const optionInfo = optionsNameMap.get(name.toLowerCase()); - if (optionInfo?.[optionKey]) { + if (optionInfo?.affectsBuildInfo) { (result ||= {})[name] = convertToReusableCompilerOptionValue( optionInfo, options[name] as CompilerOptionsValue, @@ -1294,7 +1301,8 @@ namespace ts { function emitNextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): AffectedFileResult { let affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host); const programEmitKind = getBuilderFileEmit(state.compilerOptions); - let emitKind = emitOnlyDtsFiles ? programEmitKind & BuilderFileEmit.AllDts : programEmitKind; + let emitKind = emitOnlyDtsFiles ? + programEmitKind & BuilderFileEmit.AllDts : programEmitKind; if (!affected) { if (!outFile(state.compilerOptions)) { const pendingAffectedFile = getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles); @@ -1325,7 +1333,6 @@ namespace ts { affected = state.program!; } } - if (affected === state.program) { state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : @@ -1333,7 +1340,6 @@ namespace ts { getPendingEmitKind(state.programEmitPending, emitKind) : undefined; } - return toAffectedFileEmitResult( state, // When whole program is affected, do emit only once (eg when --out or --outFile is specified) @@ -1565,7 +1571,7 @@ namespace ts { (state.affectedFilesPendingEmit ??= new Map()).set(affectedFilePendingEmit, existingKind | kind); } - export function toBuilderStateFileInfo(fileInfo: ProgramBuildInfoFileInfo): BuilderState.FileInfo { + export function toBuilderStateFileInfoForMultiEmit(fileInfo: ProgramMultiFileEmitBuildInfoFileInfo): BuilderState.FileInfo { return isString(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: undefined, impliedFormat: undefined } : isString(fileInfo.signature) ? @@ -1586,12 +1592,17 @@ namespace ts { const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); let state: ReusableBuilderProgramState; - let filePaths: Path[] | undefined; + const filePaths = program.fileNames?.map(toPath); let filePathsSetList: Set[] | undefined; const latestChangedDtsFile = program.latestChangedDtsFile ? toAbsolutePath(program.latestChangedDtsFile) : undefined; if (isProgramBundleEmitBuildInfo(program)) { + const fileInfos = new Map(); + program.fileInfos.forEach((fileInfo, index) => { + const path = toFilePath(index + 1 as ProgramBuildInfoFileId); + fileInfos.set(path, isString(fileInfo) ? { version: fileInfo, signature: undefined, affectsGlobalScope: undefined, impliedFormat: undefined } : fileInfo); + }); state = { - fileInfos: new Map(), + fileInfos, compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, latestChangedDtsFile, outSignature: program.outSignature, @@ -1600,13 +1611,12 @@ namespace ts { }; } else { - filePaths = program.fileNames?.map(toPath); filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); const fileInfos = new Map(); const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; program.fileInfos.forEach((fileInfo, index) => { const path = toFilePath(index + 1 as ProgramBuildInfoFileId); - const stateFileInfo = toBuilderStateFileInfo(fileInfo); + const stateFileInfo = toBuilderStateFileInfoForMultiEmit(fileInfo); fileInfos.set(path, stateFileInfo); if (emitSignatures && stateFileInfo.signature) emitSignatures.set(path, stateFileInfo.signature); }); @@ -1665,7 +1675,7 @@ namespace ts { } function toFilePath(fileId: ProgramBuildInfoFileId) { - return filePaths![fileId - 1]; + return filePaths[fileId - 1]; } function toFilePathsSet(fileIdsListId: ProgramBuildInfoFileIdListId) { @@ -1695,7 +1705,7 @@ namespace ts { const fileInfos = new Map(); program.fileInfos.forEach((fileInfo, index) => { const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName); - const version = isString(fileInfo) ? fileInfo : (fileInfo as ProgramBuildInfoBuilderStateFileInfo).version; // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion + const version = isString(fileInfo) ? fileInfo : fileInfo.version; fileInfos.set(path, version); }); return fileInfos; diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 511daca7b0317..02b47736d090a 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -265,7 +265,8 @@ namespace ts { export function create(newProgram: Program, getCanonicalFileName: GetCanonicalFileName, oldState?: Readonly, disableUseFileVersionAsSignature?: boolean): BuilderState { const fileInfos = new Map(); const options = newProgram.getCompilerOptions(); - const referencedMap = options.module !== ModuleKind.None && !outFile(options) ? + const isOutFile = outFile(options); + const referencedMap = options.module !== ModuleKind.None && !isOutFile ? createManyToManyPathMap() : undefined; const exportedModulesMap = referencedMap ? createManyToManyPathMap() : undefined; const useOldState = canReuseOldState(referencedMap, oldState); @@ -299,7 +300,7 @@ namespace ts { fileInfos.set(sourceFile.resolvedPath, { version, signature, - affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || undefined, + affectsGlobalScope: !isOutFile ? isFileAffectingGlobalScope(sourceFile) || undefined : undefined, impliedFormat: sourceFile.impliedNodeFormat }); } diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index a03c83ac02a70..5afb2ee8cfb69 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -305,8 +305,7 @@ namespace ts { shortName: "d", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -317,8 +316,7 @@ namespace ts { name: "declarationMap", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, transpileOptionValue: undefined, @@ -329,8 +327,7 @@ namespace ts { name: "emitDeclarationOnly", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files, @@ -341,8 +338,7 @@ namespace ts { name: "sourceMap", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -352,8 +348,7 @@ namespace ts { name: "inlineSourceMap", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -363,7 +358,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it, defaultValueDescription: false, @@ -399,7 +394,7 @@ namespace ts { affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, paramType: Diagnostics.VERSION, showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, @@ -427,7 +422,7 @@ namespace ts { })), affectsModuleResolution: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, category: Diagnostics.Modules, @@ -538,7 +533,7 @@ namespace ts { type: jsxOptionMap, affectsSourceFile: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsModuleResolution: true, paramType: Diagnostics.KIND, showInSimplifiedHelpView: true, @@ -550,9 +545,8 @@ namespace ts { name: "outFile", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsDeclarationPath: true, - affectsBundleEmitBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, showInSimplifiedHelpView: true, @@ -564,7 +558,7 @@ namespace ts { name: "outDir", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -576,7 +570,7 @@ namespace ts { name: "rootDir", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.LOCATION, @@ -588,8 +582,7 @@ namespace ts { name: "composite", type: "boolean", // Not setting affectsEmit because we calculate this flag might not affect full emit - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, isTSConfigOnly: true, category: Diagnostics.Projects, transpileOptionValue: undefined, @@ -600,8 +593,7 @@ namespace ts { name: "tsBuildInfoFile", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, - affectsBundleEmitBuildInfo: true, + affectsBuildInfo: true, isFilePath: true, paramType: Diagnostics.FILE, category: Diagnostics.Projects, @@ -613,7 +605,7 @@ namespace ts { name: "removeComments", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Emit, defaultValueDescription: false, @@ -632,7 +624,7 @@ namespace ts { name: "importHelpers", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file, defaultValueDescription: false, @@ -646,7 +638,7 @@ namespace ts { })), affectsEmit: true, affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types, defaultValueDescription: ImportsNotUsedAsValues.Remove, @@ -655,7 +647,7 @@ namespace ts { name: "downlevelIteration", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration, defaultValueDescription: false, @@ -677,7 +669,7 @@ namespace ts { // The value of each strictFlag depends on own strictFlag value or this and never accessed directly. // But we need to store `strict` in builf info, even though it won't be examined directly, so that the // flags it controls (e.g. `strictNullChecks`) will be retrieved correctly - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_all_strict_type_checking_options, @@ -687,7 +679,7 @@ namespace ts { name: "noImplicitAny", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type, @@ -697,7 +689,7 @@ namespace ts { name: "strictNullChecks", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_type_checking_take_into_account_null_and_undefined, @@ -707,7 +699,7 @@ namespace ts { name: "strictFunctionTypes", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible, @@ -717,7 +709,7 @@ namespace ts { name: "strictBindCallApply", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function, @@ -727,7 +719,7 @@ namespace ts { name: "strictPropertyInitialization", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor, @@ -737,7 +729,7 @@ namespace ts { name: "noImplicitThis", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any, @@ -747,7 +739,7 @@ namespace ts { name: "useUnknownInCatchVariables", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any, @@ -758,7 +750,7 @@ namespace ts { type: "boolean", affectsSourceFile: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_use_strict_is_always_emitted, @@ -770,7 +762,7 @@ namespace ts { name: "noUnusedLocals", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read, defaultValueDescription: false, @@ -779,7 +771,7 @@ namespace ts { name: "noUnusedParameters", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read, defaultValueDescription: false, @@ -788,7 +780,7 @@ namespace ts { name: "exactOptionalPropertyTypes", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined, defaultValueDescription: false, @@ -797,7 +789,7 @@ namespace ts { name: "noImplicitReturns", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function, defaultValueDescription: false, @@ -807,7 +799,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements, defaultValueDescription: false, @@ -816,7 +808,7 @@ namespace ts { name: "noUncheckedIndexedAccess", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index, defaultValueDescription: false, @@ -825,7 +817,7 @@ namespace ts { name: "noImplicitOverride", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier, defaultValueDescription: false, @@ -834,7 +826,7 @@ namespace ts { name: "noPropertyAccessFromIndexSignature", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: false, category: Diagnostics.Type_Checking, description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type, @@ -921,7 +913,7 @@ namespace ts { name: "allowSyntheticDefaultImports", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export, defaultValueDescription: Diagnostics.module_system_or_esModuleInterop @@ -931,7 +923,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, showInSimplifiedHelpView: true, category: Diagnostics.Interop_Constraints, description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility, @@ -948,7 +940,7 @@ namespace ts { name: "allowUmdGlobalAccess", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Modules, description: Diagnostics.Allow_accessing_UMD_globals_from_modules, defaultValueDescription: false, @@ -971,7 +963,7 @@ namespace ts { name: "sourceRoot", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code, @@ -980,7 +972,7 @@ namespace ts { name: "mapRoot", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, paramType: Diagnostics.LOCATION, category: Diagnostics.Emit, description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations, @@ -989,7 +981,7 @@ namespace ts { name: "inlineSources", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript, defaultValueDescription: false, @@ -1000,7 +992,7 @@ namespace ts { name: "experimentalDecorators", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators, defaultValueDescription: false, @@ -1010,7 +1002,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files, defaultValueDescription: false, @@ -1036,7 +1028,7 @@ namespace ts { type: "string", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsModuleResolution: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk, @@ -1055,9 +1047,8 @@ namespace ts { name: "out", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsDeclarationPath: true, - affectsBundleEmitBuildInfo: true, isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files // for correct behaviour, please use outFile category: Diagnostics.Backwards_Compatibility, @@ -1069,7 +1060,7 @@ namespace ts { name: "reactNamespace", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit, defaultValueDescription: "`React`", @@ -1078,7 +1069,7 @@ namespace ts { name: "skipDefaultLibCheck", type: "boolean", // We need to store these to determine whether `lib` files need to be rechecked - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript, defaultValueDescription: false, @@ -1094,7 +1085,7 @@ namespace ts { name: "emitBOM", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files, defaultValueDescription: false, @@ -1106,7 +1097,7 @@ namespace ts { lf: NewLineKind.LineFeed })), affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, paramType: Diagnostics.NEWLINE, category: Diagnostics.Emit, description: Diagnostics.Set_the_newline_character_for_emitting_files, @@ -1116,7 +1107,7 @@ namespace ts { name: "noErrorTruncation", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Output_Formatting, description: Diagnostics.Disable_truncating_types_in_error_messages, defaultValueDescription: false, @@ -1147,7 +1138,7 @@ namespace ts { name: "stripInternal", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments, defaultValueDescription: false, @@ -1188,7 +1179,7 @@ namespace ts { name: "noImplicitUseStrict", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files, defaultValueDescription: false, @@ -1197,7 +1188,7 @@ namespace ts { name: "noEmitHelpers", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output, defaultValueDescription: false, @@ -1206,7 +1197,7 @@ namespace ts { name: "noEmitOnError", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, transpileOptionValue: undefined, description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported, @@ -1216,7 +1207,7 @@ namespace ts { name: "preserveConstEnums", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code, defaultValueDescription: false, @@ -1225,7 +1216,7 @@ namespace ts { name: "declarationDir", type: "string", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, affectsDeclarationPath: true, isFilePath: true, paramType: Diagnostics.DIRECTORY, @@ -1237,7 +1228,7 @@ namespace ts { name: "skipLibCheck", type: "boolean", // We need to store these to determine whether `lib` files need to be rechecked - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Completeness, description: Diagnostics.Skip_type_checking_all_d_ts_files, defaultValueDescription: false, @@ -1247,7 +1238,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unused_labels, defaultValueDescription: undefined, @@ -1257,7 +1248,7 @@ namespace ts { type: "boolean", affectsBindDiagnostics: true, affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Type_Checking, description: Diagnostics.Disable_error_reporting_for_unreachable_code, defaultValueDescription: undefined, @@ -1266,7 +1257,7 @@ namespace ts { name: "suppressExcessPropertyErrors", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals, defaultValueDescription: false, @@ -1275,7 +1266,7 @@ namespace ts { name: "suppressImplicitAnyIndexErrors", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures, defaultValueDescription: false, @@ -1300,7 +1291,7 @@ namespace ts { name: "noStrictGenericChecks", type: "boolean", affectsSemanticDiagnostics: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Backwards_Compatibility, description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types, defaultValueDescription: false, @@ -1310,7 +1301,7 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Language_and_Environment, description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields, defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext @@ -1319,7 +1310,7 @@ namespace ts { name: "preserveValueImports", type: "boolean", affectsEmit: true, - affectsMultiFileEmitBuildInfo: true, + affectsBuildInfo: true, category: Diagnostics.Emit, description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed, defaultValueDescription: false, diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 1267818ee0157..f74ea2d646fb1 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -6857,8 +6857,7 @@ namespace ts { affectsEmit?: true; // true if the options affects emit affectsProgramStructure?: true; // true if program should be reconstructed from root files if option changes and does not affect module resolution as affectsModuleResolution indirectly means program needs to reconstructed affectsDeclarationPath?: true; // true if the options affects declaration file path computed - affectsMultiFileEmitBuildInfo?: true; // true if this options should be emitted in buildInfo without --out - affectsBundleEmitBuildInfo?: true; // true if this options should be emitted in buildInfo with --out + affectsBuildInfo?: true; // true if this options should be emitted in buildInfo transpileOptionValue?: boolean | undefined; // If set this means that the option should be set to this value when transpiling extraValidation?: (value: CompilerOptionsValue) => [DiagnosticMessage, ...string[]] | undefined; // Additional validation to be performed for the value to be valid } diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index 9914195b31523..7ecbe22addcd8 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -201,9 +201,9 @@ interface Symbol { type ReadableBuilderFileEmit = string & { __readableBuilderFileEmit: any; }; type ReadableProgramBuilderInfoFilePendingEmit = [original: string | [string], emitKind: ReadableBuilderFileEmit]; type ReadableProgramBuildInfoEmitSignature = string | [string, string]; - type ReadableProgramBuildInfoFileInfo = Omit & { + type ReadableProgramBuildInfoFileInfo = Omit & { impliedFormat: string | undefined; - original: ProgramBuildInfoBuilderStateFileInfo | undefined; + original: T | undefined; }; type ReadableProgramMultiFileEmitBuildInfo = Omit & { fileNamesList: readonly (readonly string[])[] | undefined; - fileInfos: MapLike; + fileInfos: MapLike>; referencedMap: MapLike | undefined; exportedModulesMap: MapLike | undefined; semanticDiagnosticsPerFile: readonly ReadableProgramBuildInfoDiagnostic[] | undefined; @@ -222,7 +222,7 @@ interface Symbol { }; type ReadableProgramBuildInfoBundlePendingEmit = [emitKind: ReadableBuilderFileEmit, original: ProgramBuildInfoBundlePendingEmit]; type ReadableProgramBundleEmitBuildInfo = Omit & { - fileInfos: MapLike; + fileInfos: MapLike>; pendingEmit: ReadableProgramBuildInfoBundlePendingEmit | undefined; }; @@ -237,7 +237,11 @@ interface Symbol { let fileNamesList: string[][] | undefined; if (buildInfo.program && isProgramBundleEmitBuildInfo(buildInfo.program)) { const fileInfos: ReadableProgramBundleEmitBuildInfo["fileInfos"] = {}; - buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = fileInfo); + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => + fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = isString(fileInfo) ? + fileInfo : + toReadableFileInfo(fileInfo, identity) + ); const pendingEmit = buildInfo.program.pendingEmit; program = { ...buildInfo.program, @@ -252,7 +256,7 @@ interface Symbol { } else if (buildInfo.program) { const fileInfos: ReadableProgramMultiFileEmitBuildInfo["fileInfos"] = {}; - buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo)); + buildInfo.program?.fileInfos?.forEach((fileInfo, index) => fileInfos[toFileName(index + 1 as ProgramBuildInfoFileId)] = toReadableFileInfo(fileInfo, toBuilderStateFileInfoForMultiEmit)); fileNamesList = buildInfo.program.fileIdsList?.map(fileIdsListId => fileIdsListId.map(toFileName)); const fullEmitForOptions = buildInfo.program.affectedFilesPendingEmit ? getBuilderFileEmit(buildInfo.program.options || {}) : undefined; program = buildInfo.program && { @@ -311,10 +315,10 @@ interface Symbol { return fileNamesList![fileIdsListId - 1]; } - function toReadableFileInfo(fileInfo: ProgramBuildInfoFileInfo): ReadableProgramBuildInfoFileInfo { - const info = toBuilderStateFileInfo(fileInfo); + function toReadableFileInfo(original: T, toFileInfo: (fileInfo: T) => BuilderState.FileInfo): ReadableProgramBuildInfoFileInfo { + const info = toFileInfo(original); return { - original: isString(fileInfo) ? undefined : fileInfo, + original: isString(original) ? undefined : original, ...info, impliedFormat: info.impliedFormat && getNameOfCompilerOptionValue(info.impliedFormat, moduleOptionDeclaration.type), }; @@ -563,7 +567,7 @@ interface Symbol { } { if (!text) return { buildInfo: text }; const readableBuildInfo = JSON.parse(text) as ReadableBuildInfo; - let sanitizedFileInfos: MapLike | undefined; + let sanitizedFileInfos: MapLike | ReadableProgramBuildInfoFileInfo, "signature" | "original"> & { signature: undefined; original: undefined; }> | undefined; if (readableBuildInfo.program?.fileInfos) { sanitizedFileInfos = {}; for (const id in readableBuildInfo.program.fileInfos) { 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 36997d35d4934..8369d0f7a2c94 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 @@ -470,7 +470,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":459,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":459,"kind":"text"}]},{"pos":459,"end":685,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-13733503289-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","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","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -588,24 +588,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "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", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3074 + "size": 3800 } //// [/src/lib/module.d.ts] @@ -876,7 +883,7 @@ sourceFile:global.ts >>>//# 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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"} +{"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] ====================================================================== @@ -949,12 +956,14 @@ declare const globalConst = 10; }, "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;", @@ -963,14 +972,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "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": 2274 + "size": 2773 } @@ -1226,7 +1238,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":488,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":488,"kind":"text"}]},{"pos":488,"end":714,"kind":"text"}],"mapHash":"-3706363920-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-22321753400-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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","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","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1345,24 +1357,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "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", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3147 + "size": 3873 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1533,7 +1552,7 @@ sourceFile:global.ts >>>//# 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["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,"outFile":"./module.js","sourceMap":true},"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"} +{"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] ====================================================================== @@ -1607,12 +1626,14 @@ declare const globalConst = 10; }, "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;", @@ -1621,13 +1642,16 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "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": 2361 + "size": 2860 } 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 196f715eb27ed..e7088372bf4d4 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 @@ -1118,7 +1118,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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","-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1329,24 +1329,32 @@ declare const appfile4_ar: number[]; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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", "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" }, "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 7067 + "size": 7917 } //// [/src/lib/module.d.ts] @@ -1971,7 +1979,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"8627584870-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"23752253622-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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; };","4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -2124,12 +2132,14 @@ declare const globalConst = 10; }, "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": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", "./file1.ts": "186113334-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "./file2.ts": "-13729954175-export const y = 20;", @@ -2138,14 +2148,18 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 5267 + "size": 5792 } @@ -2932,7 +2946,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2257,"kind":"text"}]},{"pos":2257,"end":2854,"kind":"text"}],"mapHash":"18634709081-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-22304593138-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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","-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -3144,24 +3158,32 @@ declare const appfile4_ar: number[]; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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", "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" }, "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 7139 + "size": 7989 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -3632,7 +3654,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2257,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray","typescript:rest"]},"mapHash":"13391497112-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICFH,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"26811980439-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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; };","4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -3786,12 +3808,14 @@ declare const globalConst = 10; }, "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": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", "./file1.ts": "12502459933-export const x = 10;function forlibfile1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(x);", "./file2.ts": "-13729954175-export const y = 20;", @@ -3800,14 +3824,18 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 5356 + "size": 5881 } @@ -4507,7 +4535,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2172,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2172,"kind":"text"}]},{"pos":2172,"end":2769,"kind":"text"}],"mapHash":"10800515764-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"-17799548340-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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","-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -4717,24 +4745,32 @@ declare const appfile4_ar: number[]; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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", "./file3.ts": "-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "./file4.ts": "-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);" }, "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 6919 + "size": 7769 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -5098,7 +5134,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1670,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"34350533098-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe,KAAK,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICApD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-9077950738-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\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 function forlibfile1Rest() { }\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":265,"kind":"text"}],"mapHash":"-34036075879-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"13747623731-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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; };","4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);","-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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] ====================================================================== @@ -5230,12 +5266,14 @@ declare const globalConst = 10; }, "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": "4690807917-const myGlob = 20;\nfunction libfile0Spread(...b: number[]) { }\nconst libfile0_ar = [20, 30];\nlibfile0Spread(10, ...libfile0_ar);", "./file1.ts": "-2014796510-export const x = 10;function forlibfile1Rest() { }console.log(x);", "./file2.ts": "-13729954175-export const y = 20;", @@ -5244,13 +5282,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "25704616268-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\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": 4460 + "size": 4985 } 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 16ffd15f7267a..5670134e3391d 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 @@ -564,7 +564,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":544,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":544,"kind":"text"}]},{"pos":544,"end":789,"kind":"text"}],"sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"43697297756-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"10364809621-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","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","14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"target":1},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -748,24 +748,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "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", "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3774 + "size": 4499 } //// [/src/lib/module.d.ts] @@ -1091,7 +1098,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-10726455937-export const x = 10;","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":528,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"10375222825-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;ICApB,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"574486843-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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; };","9536729713-\"myPrologue\"\nconst myGlob = 20;","-10726455937-export const x = 10;","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"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] ====================================================================== @@ -1235,12 +1242,14 @@ declare const globalConst = 10; }, "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": "9536729713-\"myPrologue\"\nconst myGlob = 20;", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", @@ -1249,14 +1258,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "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": 2976 + "size": 3474 } @@ -1596,7 +1608,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":573,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":573,"kind":"text"}]},{"pos":573,"end":818,"kind":"text"}],"mapHash":"3847555902-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IGDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-54929435562-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar 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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-26680300331-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","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","14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"target":1},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1781,24 +1793,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "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", "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3845 + "size": 4570 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -2021,7 +2040,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":557,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-8068071797-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;IEDL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICAnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"6749123452-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar 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 \"myPrologueFile\";\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":"-38214306044-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICDlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICCpB,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; };","9536729713-\"myPrologue\"\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"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] ====================================================================== @@ -2166,12 +2185,14 @@ declare const globalConst = 10; }, "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": "9536729713-\"myPrologue\"\nconst myGlob = 20;", "./file1.ts": "-4405159098-export const x = 10;console.log(x);", "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", @@ -2180,14 +2201,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "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": 3062 + "size": 3560 } @@ -2720,7 +2744,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":593,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":62,"end":593,"kind":"text"}]},{"pos":593,"end":838,"kind":"text"}],"mapHash":"16708366-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/global.ts\",\"file4.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"file3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ACAb,aAAa,CAAC;AFCd,IAAM,MAAM,GAAG,EAAE,CAAC;;;IGDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;IIDvB,YAAY,CAAA;;;IACC,QAAA,CAAC,GAAG,EAAE,CAAC;;AHApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"1949994516-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\n\"myPrologue2\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map","sources":{"prologues":[{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]}},"dts":{"sections":[{"pos":0,"end":171,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":171,"kind":"text"}]},{"pos":171,"end":253,"kind":"text"}],"mapHash":"-19636782544-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AACA,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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-2339330908-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","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","14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";","8812798660-\"myPrologue2\";\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"target":1},"outSignature":"10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2906,24 +2930,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "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", "./file3.ts": "14566593738-\"myPrologue\"\nexport const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "8812798660-\"myPrologue2\";\nconst myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "10242181693-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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3881 + "size": 4606 } //// [/src/lib/module.d.ts.map] @@ -3281,7 +3312,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["9536729713-\"myPrologue\"\nconst myGlob = 20;","-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue3"},{"pos":46,"end":577,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":3,"text":"\"myPrologue3\"","directives":[{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue3"}}]}]},"mapHash":"-19459258405-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"global.ts\",\"file1.ts\",\"file2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAA;ADCb,IAAM,MAAM,GAAG,EAAE,CAAC;;;IEDlB,aAAa,CAAA;;;IACA,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;ICDnC,gBAAgB,CAAA;;;IACH,QAAA,CAAC,GAAG,EAAE,CAAC;;AFApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-11464610054-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue3\";\r\nvar myGlob = 20;\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n \"myPrologue5\";\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 \"myPrologueFile\";\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":"-36563998849-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AACA,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; };","9536729713-\"myPrologue\"\nconst myGlob = 20;","-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);","16047001250-\"myPrologueFile\"\nexport const y = 20;","7757520337-\"myPrologue3\"\nconst globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":true,"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] ====================================================================== @@ -3427,12 +3458,14 @@ declare const globalConst = 10; }, "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": "9536729713-\"myPrologue\"\nconst myGlob = 20;", "./file1.ts": "-4813675172-\"myPrologue5\"\nexport const x = 10;console.log(x);", "./file2.ts": "16047001250-\"myPrologueFile\"\nexport const y = 20;", @@ -3441,13 +3474,16 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": true, + "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": 3122 + "size": 3620 } 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 5143ef0967d4d..f103f55566198 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/shebang-in-all-projects.js @@ -483,7 +483,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":484,"kind":"text"}]},{"pos":484,"end":710,"kind":"text"}],"mapHash":"-9078462836-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"18621375477-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","-3021253461-#!someshebang lib file0\r\ndeclare 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","7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -601,24 +601,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "-3021253461-#!someshebang lib file0\r\ndeclare 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", "./file3.ts": "7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3184 + "size": 3937 } //// [/src/lib/module.d.ts] @@ -897,7 +904,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","378638433-#!someshebang lib file1\nexport const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":484,"kind":"text"}],"mapHash":"36962111119-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICDP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"29113258623-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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; };","7942086417-#!someshebang lib file0\nconst myGlob = 20;","378638433-#!someshebang lib file1\nexport 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":"-3021253461-#!someshebang lib file0\r\ndeclare 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] ====================================================================== @@ -970,12 +977,14 @@ declare const globalConst = 10; }, "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": "7942086417-#!someshebang lib file0\nconst myGlob = 20;", "./file1.ts": "378638433-#!someshebang lib file1\nexport const x = 10;", "./file2.ts": "-13729954175-export const y = 20;", @@ -984,14 +993,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare 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": 2406 + "size": 2905 } @@ -1253,7 +1265,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":25,"end":513,"kind":"text"}]},{"pos":513,"end":739,"kind":"text"}],"mapHash":"-22024543371-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICCV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACDpB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25412899146-#!someshebang lib file0\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":25,"end":196,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":25,"end":196,"kind":"text"}]},{"pos":196,"end":278,"kind":"text"}],"mapHash":"-32924248397-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICCvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACDpB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-6019253934-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","-3021253461-#!someshebang lib file0\r\ndeclare 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","7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1372,24 +1384,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "-3021253461-#!someshebang lib file0\r\ndeclare 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", "./file3.ts": "7745078967-#!someshebang app file3\nexport const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "1766703083-#!someshebang lib file0\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3258 + "size": 4011 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1564,7 +1583,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["7942086417-#!someshebang lib file0\nconst myGlob = 20;","7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-3021253461-#!someshebang lib file0\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":25,"end":513,"kind":"text"}],"mapHash":"15343768984-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAL,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICDtB,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-14818255616-#!someshebang lib file0\r\nvar 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":25,"end":196,"kind":"text"}],"mapHash":"-5431151811-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICDpB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"-11899867630-#!someshebang lib file0\r\ndeclare 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; };","7942086417-#!someshebang lib file0\nconst myGlob = 20;","7280727528-#!someshebang lib file1\nexport 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":"-3021253461-#!someshebang lib file0\r\ndeclare 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] ====================================================================== @@ -1638,12 +1657,14 @@ declare const globalConst = 10; }, "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": "7942086417-#!someshebang lib file0\nconst myGlob = 20;", "./file1.ts": "7280727528-#!someshebang lib file1\nexport const x = 10;console.log(x);", "./file2.ts": "-13729954175-export const y = 20;", @@ -1652,13 +1673,16 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-3021253461-#!someshebang lib file0\r\ndeclare 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": 2495 + "size": 2994 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js index b893b2bd2c800..f8bae61bbce73 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/stripInternal.js @@ -1979,7 +1979,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4382,"kind":"text"}]},{"pos":4382,"end":4608,"kind":"text"}],"mapHash":"16771957534-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-90621758844-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -2190,24 +2190,32 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9245 + "size": 11248 } //// [/src/lib/module.d.ts] @@ -4589,7 +4597,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4382,"kind":"text"}],"mapHash":"9404225414-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;;;;;;ICzBrC,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-103876932274-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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; };","4331635807-/*@internal*/ const myGlob = 20;","21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }","-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":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -4851,12 +4859,14 @@ declare const globalConst = 10; }, "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": "4331635807-/*@internal*/ const myGlob = 20;", "./file1.ts": "21054576574-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }", "./file2.ts": "-13729954175-export const y = 20;", @@ -4865,14 +4875,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13152 + "size": 13651 } @@ -6596,7 +6609,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4411,"kind":"text"}]},{"pos":4411,"end":4637,"kind":"text"}],"mapHash":"-21544975008-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-25974477915-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":217,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":217,"kind":"text"}]},{"pos":217,"end":299,"kind":"text"}],"mapHash":"12507664209-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"17014126216-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -6808,24 +6821,32 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "21439035937-declare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9317 + "size": 11320 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -8439,7 +8460,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4411,"kind":"text"}],"mapHash":"13458659400-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAnB,QAAA,CAAC,GAAG,EAAE,CAAC;IACpB;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-60704068049-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"-20111650778-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAhC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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; };","4331635807-/*@internal*/ const myGlob = 20;","15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }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":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -8702,12 +8723,14 @@ declare const globalConst = 10; }, "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": "4331635807-/*@internal*/ const myGlob = 20;", "./file1.ts": "15501672357-export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);", "./file2.ts": "-13729954175-export const y = 20;", @@ -8716,14 +8739,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13238 + "size": 13737 } @@ -10654,7 +10680,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":4425,"kind":"text"}]},{"pos":4425,"end":4651,"kind":"text"}],"mapHash":"59653473212-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-28060741068-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":191,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":191,"kind":"text"}]},{"pos":191,"end":273,"kind":"text"}],"mapHash":"-49236694807-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";IACA,MAAM,OAAO,OAAO;KAMnB;IACD,MAAM,WAAW,OAAO,CAAC;KASxB;;;ICjBD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"20887384567-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.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; };","16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -10865,24 +10891,32 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/module.d.ts", "./file3.ts", "./file4.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; };", + "../lib/module.d.ts": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "22164052496-declare module \"file1\" {\r\n export class normalC {\r\n }\r\n export namespace normalN {\r\n }\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 9249 + "size": 11252 } //// [/src/lib/module.d.ts.map] @@ -13239,7 +13273,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["4331635807-/*@internal*/ const myGlob = 20;","40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":4425,"kind":"text"}],"mapHash":"-54033237660-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAa,CAAC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICAhC,aAAa,CAAc,QAAA,CAAC,GAAG,EAAE,CAAC;IAClC;QACI,aAAa,CAAC;QAAgB,CAAC;QAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;QACZ,sBAAI,sBAAC;YAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;YACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;WADA;QAExC,cAAC;IAAD,CAAC,AAND,IAMC;IANY,0BAAO;IAOpB,IAAiB,OAAO,CASvB;IATD,WAAiB,OAAO;QACpB,aAAa,CAAC;YAAA;YAAiB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAlB,IAAkB;QAAL,SAAC,IAAI,CAAA;QAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;QAAR,WAAG,MAAK,CAAA;QACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;QAApD,WAAiB,aAAa;YAAG;gBAAA;gBAAgB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAjB,IAAiB;YAAJ,eAAC,IAAG,CAAA;QAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;QAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;QAAlE,WAAiB,SAAS;YAAC,IAAA,SAAS,CAA8B;YAAvC,WAAA,SAAS;gBAAG;oBAAA;oBAAwB,CAAC;oBAAD,gBAAC;gBAAD,CAAC,AAAzB,IAAyB;gBAAZ,mBAAS,YAAG,CAAA;YAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;QAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;QAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;QAC9C,aAAa,CAAC,IAAY,YAAwB;QAApC,WAAY,YAAY;YAAG,yCAAC,CAAA;YAAE,yCAAC,CAAA;YAAE,yCAAC,CAAA;QAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IACtD,CAAC,EATgB,OAAO,GAAP,eAAO,KAAP,eAAO,QASvB;IACD,aAAa,CAAC;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,8BAAS;IACpC,aAAa,CAAC,SAAgB,WAAW,KAAI,CAAC;IAAhC,kCAAgC;IAC9C,aAAa,CAAC,IAAiB,iBAAiB,CAA8B;IAAhE,WAAiB,iBAAiB;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,2BAAS,YAAG,CAAA;IAAC,CAAC,EAA/C,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAA8B;IAC9E,aAAa,CAAC,IAAiB,aAAa,CAAwC;IAAtE,WAAiB,aAAa;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;IAAD,CAAC,EAArD,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAwC;IACpF,aAAa,CAAe,QAAA,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAEzE,aAAa,CAAc,QAAA,aAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;IAAA,OAAO,CAAC,GAAG,CAAC,SAAC,CAAC,CAAC;;;;;;ICzBpD,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-22692085506-/*@internal*/ 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.internalEnum = exports.internalConst = exports.internalImport = exports.internalOther = exports.internalNamespace = exports.internalfoo = exports.internalC = exports.normalN = exports.normalC = exports.x = void 0;\r\n /*@internal*/ exports.x = 10;\r\n var normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n }());\r\n exports.normalC = normalC;\r\n var normalN;\r\n (function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n })(normalN = exports.normalN || (exports.normalN = {}));\r\n /*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n }());\r\n exports.internalC = internalC;\r\n /*@internal*/ function internalfoo() { }\r\n exports.internalfoo = internalfoo;\r\n /*@internal*/ var internalNamespace;\r\n (function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n })(internalNamespace = exports.internalNamespace || (exports.internalNamespace = {}));\r\n /*@internal*/ var internalOther;\r\n (function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n })(internalOther = exports.internalOther || (exports.internalOther = {}));\r\n /*@internal*/ exports.internalImport = internalNamespace.someClass;\r\n /*@internal*/ exports.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = exports.internalEnum || (exports.internalEnum = {}));\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":26,"kind":"internal"},{"pos":28,"end":54,"kind":"text"},{"pos":54,"end":78,"kind":"internal"},{"pos":80,"end":108,"kind":"text"},{"pos":108,"end":233,"kind":"internal"},{"pos":235,"end":274,"kind":"text"},{"pos":274,"end":742,"kind":"internal"},{"pos":744,"end":751,"kind":"text"},{"pos":751,"end":1240,"kind":"internal"},{"pos":1242,"end":1333,"kind":"text"}],"mapHash":"58024379814-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAc,QAAA,MAAM,MAAM,KAAK,CAAC;;ICAlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,OAAO,OAAO;;QAEF,IAAI,EAAE,MAAM,CAAC;QACb,MAAM;QACN,IAAI,CAAC,IACM,MAAM,CADK;QACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;KACvC;IACD,MAAM,WAAW,OAAO,CAAC;QACP,MAAa,CAAC;SAAI;QAClB,SAAgB,GAAG,SAAK;QACxB,UAAiB,aAAa,CAAC;YAAE,MAAa,CAAC;aAAG;SAAE;QACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;YAAE,MAAa,SAAS;aAAG;SAAE;QAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;QAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;QAC9B,MAAM,aAAa,KAAK,CAAC;QAChC,KAAY,YAAY;YAAG,CAAC,IAAA;YAAE,CAAC,IAAA;YAAE,CAAC,IAAA;SAAE;KACrD;IACa,MAAM,OAAO,SAAS;KAAG;IACzB,MAAM,UAAU,WAAW,SAAK;IAChC,MAAM,WAAW,iBAAiB,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAChE,MAAM,WAAW,aAAa,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACtE,MAAM,QAAQ,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC3D,MAAM,MAAM,YAAY,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,MAAM,aAAa,KAAK,CAAC;IAChC,MAAM,MAAM,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;;;ICzBlD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"6923704418-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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; };","4331635807-/*@internal*/ const myGlob = 20;","40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }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":"16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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] ====================================================================== @@ -13517,12 +13551,14 @@ declare const globalConst = 10; }, "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": "4331635807-/*@internal*/ const myGlob = 20;", "./file1.ts": "40359149204-/*@internal*/ export const x = 10;\nexport class normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nexport namespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ export class internalC {}\n/*@internal*/ export function internalfoo() {}\n/*@internal*/ export namespace internalNamespace { export class someClass {} }\n/*@internal*/ export namespace internalOther.something { export class someClass {} }\n/*@internal*/ export import internalImport = internalNamespace.someClass;\n/*@internal*/ export type internalType = internalC;\n/*@internal*/ export const internalConst = 10;\n/*@internal*/ export enum internalEnum { a, b, c }console.log(x);", "./file2.ts": "-13729954175-export const y = 20;", @@ -13531,13 +13567,16 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "16122271483-declare const myGlob = 20;\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n export class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n }\r\n export namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n }\r\n export class internalC {\r\n }\r\n export function internalfoo(): void;\r\n export namespace internalNamespace {\r\n class someClass {\r\n }\r\n }\r\n export namespace internalOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import internalImport = internalNamespace.someClass;\r\n export type internalType = internalC;\r\n export const internalConst = 10;\r\n export enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\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": 13348 + "size": 13847 } 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 eb9d4ea8f78cf..7f9afc6d63ac6 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 @@ -606,7 +606,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":534,"kind":"text"}]},{"pos":534,"end":835,"kind":"text"}],"mapHash":"-46462971872-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-27448163087-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/tripleref.d.ts","../lib/module.d.ts","./file3.ts","./tripleref.d.ts","./file4.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; };","-2339691926-declare class libfile0 { }","31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","-3347356200-declare class appfile4 { }","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -748,26 +748,35 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/tripleref.d.ts", + "../lib/module.d.ts", "./file3.ts", - "./file4.ts", - "./tripleref.d.ts" + "./tripleref.d.ts", + "./file4.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; };", + "../lib/tripleref.d.ts": "-2339691926-declare class libfile0 { }", + "../lib/module.d.ts": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", - "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;", - "./tripleref.d.ts": "-3347356200-declare class appfile4 { }" + "./tripleref.d.ts": "-3347356200-declare class appfile4 { }", + "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 4037 + "size": 4912 } //// [/src/lib/module.d.ts] @@ -1101,7 +1110,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":534,"kind":"text"}],"mapHash":"31519598606-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,QAAA,CAAC,GAAG,EAAE,CAAC;;;;;;ICAP,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC\"}","hash":"-20825957251-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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","./tripleref.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; };","-2339691926-declare class libfile0 { }","11210734432-///\nconst file0Const = new libfile0();\nconst 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":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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] ====================================================================== @@ -1186,30 +1195,35 @@ declare const globalConst = 10; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "./tripleref.d.ts", "./file0.ts", "./file1.ts", "./file2.ts", - "./global.ts", - "./tripleref.d.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; };", + "./tripleref.d.ts": "-2339691926-declare class libfile0 { }", "./file0.ts": "11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;", - "./global.ts": "1028229885-const globalConst = 10;", - "./tripleref.d.ts": "-2339691926-declare class libfile0 { }" + "./global.ts": "1028229885-const globalConst = 10;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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": 2812 + "size": 3311 } @@ -1541,7 +1555,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts","./tripleref.d.ts"],"fileInfos":["-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;","-3347356200-declare class appfile4 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":0,"end":563,"kind":"text"}]},{"pos":563,"end":864,"kind":"text"}],"mapHash":"-8132351063-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-9056748078-///\r\nvar file0Const = new libfile0();\r\nvar 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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\n///\r\nvar file4Const = new appfile4();\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":87,"kind":"reference","data":"../lib/tripleRef.d.ts"},{"pos":89,"end":297,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":89,"end":297,"kind":"text"}]},{"pos":297,"end":416,"kind":"text"}],"mapHash":"-41692709617-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACCpB,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"-15518908315-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../lib/tripleref.d.ts","../lib/module.d.ts","./file3.ts","./tripleref.d.ts","./file4.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; };","-2339691926-declare class libfile0 { }","31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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","-2588783191-export const z = 30;\r\nimport { x } from \"file1\";","-3347356200-declare class appfile4 { }","15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -1684,26 +1698,35 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../lib/tripleref.d.ts", + "../lib/module.d.ts", "./file3.ts", - "./file4.ts", - "./tripleref.d.ts" + "./tripleref.d.ts", + "./file4.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; };", + "../lib/tripleref.d.ts": "-2339691926-declare class libfile0 { }", + "../lib/module.d.ts": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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", "./file3.ts": "-2588783191-export const z = 30;\r\nimport { x } from \"file1\";", - "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;", - "./tripleref.d.ts": "-3347356200-declare class appfile4 { }" + "./tripleref.d.ts": "-3347356200-declare class appfile4 { }", + "./file4.ts": "15433167512-///\nconst file4Const = new appfile4();\nconst myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8754271874-/// \r\n/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const file4Const: appfile4;\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 4107 + "size": 4982 } //// [/src/lib/module.d.ts.map] file written with same contents @@ -1912,7 +1935,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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":["./file0.ts","./file1.ts","./file2.ts","./global.ts","./tripleref.d.ts"],"fileInfos":["11210734432-///\nconst file0Const = new libfile0();\nconst myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;","-2339691926-declare class libfile0 { }"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file0.ts","./file1.ts","./file2.ts","./global.ts"],"js":{"sections":[{"pos":0,"end":563,"kind":"text"}],"mapHash":"25718032631-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\"AAAA,uCAAuC;AACvC,IAAM,UAAU,GAAG,IAAI,QAAQ,EAAE,CAAC;AAClC,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;ICFL,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":"-4814475330-///\r\nvar file0Const = new libfile0();\r\nvar 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":39,"kind":"reference","data":"tripleRef.d.ts"},{"pos":41,"end":249,"kind":"text"}],"mapHash":"9669155184-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"file0.ts\",\"file1.ts\",\"file2.ts\",\"global.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,UAAU,UAAiB,CAAC;AAClC,QAAA,MAAM,MAAM,KAAK,CAAC;;ICFlB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC\"}","hash":"31314402083-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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","./tripleref.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; };","-2339691926-declare class libfile0 { }","11210734432-///\nconst file0Const = new libfile0();\nconst 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":"31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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] ====================================================================== @@ -1998,29 +2021,34 @@ declare const globalConst = 10; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "./tripleref.d.ts", "./file0.ts", "./file1.ts", "./file2.ts", - "./global.ts", - "./tripleref.d.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; };", + "./tripleref.d.ts": "-2339691926-declare class libfile0 { }", "./file0.ts": "11210734432-///\nconst file0Const = new libfile0();\nconst 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;", - "./tripleref.d.ts": "-2339691926-declare class libfile0 { }" + "./global.ts": "1028229885-const globalConst = 10;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "31940992316-/// \r\ndeclare const file0Const: libfile0;\r\ndeclare 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": 2897 + "size": 3396 } 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 44190188fe990..56748ee4a9b71 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 @@ -471,7 +471,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"prepend","data":"../module.js","texts":[{"pos":0,"end":467,"kind":"text"}]},{"pos":467,"end":693,"kind":"text"}],"mapHash":"5108062215-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,KAAK,GAAG,EAAE,CAAC\"}","hash":"-17566287533-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n});\r\nvar myVar = 30;\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":179,"kind":"prepend","data":"../module.d.ts","texts":[{"pos":0,"end":179,"kind":"text"}]},{"pos":179,"end":261,"kind":"text"}],"mapHash":"-41254439122-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.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;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC\"}","hash":"24304607920-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../module.d.ts","./file3.ts","./file4.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; };","29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";","1463681686-const myVar = 30;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -589,24 +589,31 @@ declare const myVar = 30; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../module.d.ts", "./file3.ts", "./file4.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; };", + "../module.d.ts": "29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "./file3.ts": "3263932623-export const z = 30;\r\nimport { x } from \"lib/file1\";", "./file4.ts": "1463681686-const myVar = 30;" }, "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "22493213257-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 3093 + "size": 3823 } //// [/src/module.d.ts] @@ -878,7 +885,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":["3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"options":{"composite":true,"declarationMap":true,"outFile":"./module.js","sourceMap":true},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"js":{"sections":[{"pos":0,"end":467,"kind":"text"}],"mapHash":"-9312331865-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"-27587743651-var myGlob = 20;\r\ndefine(\"lib/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(\"lib/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":179,"kind":"text"}],"mapHash":"34877575893-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"lib/file0.ts\",\"lib/file1.ts\",\"lib/file2.ts\",\"lib/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":"34671557616-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/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","./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/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","rootDir":"./","sourceMap":true,"strict":false,"target":1},"outSignature":"29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.baseline.txt] ====================================================================== @@ -951,12 +958,14 @@ declare const globalConst = 10; }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./lib/file0.ts", "./lib/file1.ts", "./lib/file2.ts", "./lib/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; };", "./lib/file0.ts": "3587416848-const myGlob = 20;", "./lib/file1.ts": "-10726455937-export const x = 10;", "./lib/file2.ts": "-13729954175-export const y = 20;", @@ -965,13 +974,17 @@ declare const globalConst = 10; "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./module.js", - "sourceMap": true + "rootDir": "./", + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "29375769481-declare const myGlob = 20;\r\ndeclare module \"lib/file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"lib/file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\n", "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 2362 + "size": 2873 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index 3d409baa215cb..c5686f9c95509 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,3 +1,329 @@ +2:: with declaration, emit Dts and should not emit js +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +3:: with declaration and declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap @@ -18,21 +344,325 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 746, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +6:: with declaration and declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, "kind": "text" } ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, "program": { "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "../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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, @@ -48,16 +678,6 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -72,7 +692,8 @@ IncrementalBuild: }, "program": { "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "../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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -80,6 +701,7 @@ IncrementalBuild: "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, @@ -90,13 +712,13 @@ CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-746) +text: (0-747) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 10; + var aLocal = 100; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -122,35 +744,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { IncrementalBuild: ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -170,11 +763,8 @@ declare module "d" { } ====================================================================== -7:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Clean build does not have dts bundle section -Incremental build contains the dts build section from before +11:: with declaration and declarationMap (should this reemit or not?) +*** Needs explanation TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -195,16 +785,31 @@ CleanBuild: } ], "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { "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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "declaration": true, + "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, @@ -220,16 +825,6 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -244,6 +839,7 @@ IncrementalBuild: }, "program": { "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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -252,6 +848,7 @@ IncrementalBuild: "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, @@ -291,7 +888,139 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }); ====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +12:: with declaration and declarationMap, should not re-emit +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- @@ -341,4 +1070,26 @@ declare module "d" { export const d = 10; } +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + ====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index fe7505a16ea4d..d9848173acf38 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -86,7 +86,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -145,23 +145,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1437 + "size": 1907 } @@ -228,7 +231,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -255,24 +258,27 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js", "sourceMap": true } }, "version": "FakeTSVersion", - "size": 1888 + "size": 2358 } @@ -336,7 +342,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -362,23 +368,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1437 + "size": 1907 } @@ -427,42 +436,12 @@ declare module "d" { } -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -493,16 +472,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -516,12 +485,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -529,11 +500,12 @@ declare module "d" { }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1770 + "size": 1333 } @@ -544,12 +516,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:00:46 AM] Projects in this build: +[12:00:45 AM] Projects in this build: * src/project/tsconfig.json -[12:00:47 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:00:46 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:48 AM] Building project '/src/project/tsconfig.json'... +[12:00:47 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -585,9 +557,8 @@ declare module "d" { //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -600,16 +571,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -624,12 +585,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -638,11 +601,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2175 + "size": 1738 } @@ -653,10 +617,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:56 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/project/tsconfig.json -[12:00:57 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:00:55 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -672,12 +636,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:00:59 AM] Projects in this build: +[12:00:57 AM] Projects in this build: * src/project/tsconfig.json -[12:01:00 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:00:58 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' -[12:01:01 AM] Building project '/src/project/tsconfig.json'... +[12:00:59 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -725,7 +689,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -784,23 +748,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1442 + "size": 1912 } @@ -811,12 +778,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:01:07 AM] Projects in this build: +[12:01:05 AM] Projects in this build: * src/project/tsconfig.json -[12:01:08 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:06 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:09 AM] Building project '/src/project/tsconfig.json'... +[12:01:07 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -836,42 +803,12 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -902,16 +839,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -926,12 +853,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -940,11 +869,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2180 + "size": 1739 } @@ -955,10 +885,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:01:17 AM] Projects in this build: +[12:01:14 AM] Projects in this build: * src/project/tsconfig.json -[12:01:18 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:15 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -971,12 +901,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -[12:01:19 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/project/tsconfig.json -[12:01:20 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:17 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:21 AM] Building project '/src/project/tsconfig.json'... +[12:01:18 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -1024,7 +954,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1083,12 +1013,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1096,11 +1028,12 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "inlineSourceMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1974 + "size": 2444 } @@ -1111,12 +1044,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -[12:01:27 AM] Projects in this build: +[12:01:24 AM] Projects in this build: * src/project/tsconfig.json -[12:01:28 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:25 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:29 AM] Building project '/src/project/tsconfig.json'... +[12:01:26 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -1167,7 +1100,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1194,24 +1127,27 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js", "sourceMap": true } }, "version": "FakeTSVersion", - "size": 1890 + "size": 2360 } @@ -1222,12 +1158,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:01:36 AM] Projects in this build: +[12:01:33 AM] Projects in this build: * src/project/tsconfig.json -[12:01:37 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:34 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:38 AM] Building project '/src/project/tsconfig.json'... +[12:01:35 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -1275,7 +1211,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1301,23 +1237,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1442 + "size": 1912 } @@ -1328,12 +1267,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:01:44 AM] Projects in this build: +[12:01:41 AM] Projects in this build: * src/project/tsconfig.json -[12:01:45 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:42 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:46 AM] Building project '/src/project/tsconfig.json'... +[12:01:43 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -1353,42 +1292,12 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -1419,16 +1328,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -1443,12 +1342,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1457,11 +1358,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2180 + "size": 1739 } @@ -1472,10 +1374,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration --declarationMap -[12:01:54 AM] Projects in this build: +[12:01:50 AM] Projects in this build: * src/project/tsconfig.json -[12:01:55 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:51 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 2c993b83c163a..6140b848f38e1 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -35,6 +35,7 @@ CleanBuild: }, "program": { "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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -43,6 +44,7 @@ CleanBuild: "options": { "composite": true, "declaration": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -83,6 +85,7 @@ IncrementalBuild: }, "program": { "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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -90,6 +93,7 @@ IncrementalBuild: }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -97,11 +101,8 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -6:: with emitDeclarationOnly should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -Clean build info does not have js section because its fresh build -Incremental build info has js section from old build +4:: with declaration and declarationMap +*** Needs explanation TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -113,6 +114,16 @@ CleanBuild: "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -121,11 +132,13 @@ CleanBuild: "kind": "text" } ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { "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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -133,7 +146,9 @@ CleanBuild: }, "options": { "composite": true, - "emitDeclarationOnly": true, + "declaration": true, + "declarationMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -142,6 +157,125 @@ CleanBuild: "version": "FakeTSVersion" } IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +5:: should re-emit only dts so they dont contain sourcemap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -174,6 +308,205 @@ IncrementalBuild: }, "program": { "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -181,6 +514,7 @@ IncrementalBuild: }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -211,6 +545,120 @@ declare module "d" { IncrementalBuild: ====================================================================== File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +7:: no-change-run +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js ---------------------------------------------------------------------- text: (0-746) define("a", ["require", "exports"], function (require, exports) { @@ -258,6 +706,28 @@ declare module "d" { export const d = 10; } +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + ====================================================================== 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration @@ -296,6 +766,7 @@ CleanBuild: }, "program": { "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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -304,6 +775,7 @@ CleanBuild: "options": { "composite": true, "declaration": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -344,6 +816,7 @@ IncrementalBuild: }, "program": { "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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -351,6 +824,7 @@ IncrementalBuild: }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js index 75cc59104d6cb..393adbebf5e2b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -101,7 +101,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -188,12 +188,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -201,13 +203,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 2545 } @@ -274,7 +277,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -311,12 +314,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -324,6 +329,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js", "sourceMap": true }, @@ -331,7 +337,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2526 + "size": 2996 } @@ -395,7 +401,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -431,12 +437,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -444,13 +452,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 2545 } @@ -534,11 +543,32 @@ declare module "d" { //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -549,16 +579,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -573,12 +593,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -588,13 +610,14 @@ declare module "d" { "composite": true, "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2499 + "size": 2062 } @@ -605,12 +628,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:00:53 AM] Projects in this build: +[12:00:52 AM] Projects in this build: * src/project/tsconfig.json -[12:00:54 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:00:53 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:00:55 AM] Building project '/src/project/tsconfig.json'... +[12:00:54 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -643,9 +666,8 @@ declare module "d" { } -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -658,16 +680,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -681,12 +693,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -694,13 +708,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 1638 } @@ -711,10 +726,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --emitDeclarationOnly -[12:01:03 AM] Projects in this build: +[12:01:01 AM] Projects in this build: * src/project/tsconfig.json -[12:01:04 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:02 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -727,10 +742,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose -[12:01:05 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/project/tsconfig.json -[12:01:06 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:04 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/d.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -746,12 +761,12 @@ export const a = 10;const aLocal = 100; Output:: /lib/tsc --b /src/project --verbose -[12:01:08 AM] Projects in this build: +[12:01:06 AM] Projects in this build: * src/project/tsconfig.json -[12:01:09 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' +[12:01:07 AM] Project 'src/project/tsconfig.json' is out of date because output 'src/outFile.tsbuildinfo' is older than input 'src/project/a.ts' -[12:01:10 AM] Building project '/src/project/tsconfig.json'... +[12:01:08 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -799,7 +814,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -886,12 +901,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -899,13 +916,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2080 + "size": 2550 } @@ -916,10 +934,10 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --declaration -[12:01:16 AM] Projects in this build: +[12:01:14 AM] Projects in this build: * src/project/tsconfig.json -[12:01:17 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' +[12:01:15 AM] Project 'src/project/tsconfig.json' is up to date because newest input 'src/project/a.ts' is older than output 'src/outFile.tsbuildinfo' exitCode:: ExitStatus.Success @@ -932,12 +950,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --inlineSourceMap -[12:01:18 AM] Projects in this build: +[12:01:16 AM] Projects in this build: * src/project/tsconfig.json -[12:01:19 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:17 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:20 AM] Building project '/src/project/tsconfig.json'... +[12:01:18 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -985,7 +1003,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1021,12 +1039,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1035,13 +1055,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "options": { "composite": true, "inlineSourceMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2612 + "size": 3082 } @@ -1052,12 +1073,12 @@ Input:: Output:: /lib/tsc --b /src/project --verbose --sourceMap -[12:01:26 AM] Projects in this build: +[12:01:24 AM] Projects in this build: * src/project/tsconfig.json -[12:01:27 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:25 AM] Project 'src/project/tsconfig.json' is out of date because buildinfo file 'src/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:28 AM] Building project '/src/project/tsconfig.json'... +[12:01:26 AM] Building project '/src/project/tsconfig.json'... exitCode:: ExitStatus.Success Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] @@ -1108,7 +1129,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1145,12 +1166,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1158,6 +1181,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js", "sourceMap": true }, @@ -1165,6 +1189,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2528 + "size": 2998 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index a7c67aca8bce0..fd7165b347d74 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -25,6 +25,7 @@ CleanBuild: }, "program": { "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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -33,6 +34,7 @@ CleanBuild: "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, @@ -71,6 +73,7 @@ IncrementalBuild: }, "program": { "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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -79,6 +82,7 @@ IncrementalBuild: "options": { "declaration": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" } }, diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index 14e20ac641d36..9783b032eec82 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -111,7 +111,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -156,12 +156,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -170,11 +172,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 854 + "size": 1327 } @@ -282,7 +285,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -308,12 +311,14 @@ No shapes updated in the builder:: }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -322,11 +327,12 @@ No shapes updated in the builder:: "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 868 + "size": 1341 } @@ -419,7 +425,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -507,12 +513,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -521,11 +529,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1799 + "size": 2272 } @@ -706,7 +715,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -795,12 +804,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -809,10 +820,11 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1840 + "size": 2313 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js index dc906e15f1f74..8c4b328758b80 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -25,6 +25,7 @@ CleanBuild: }, "program": { "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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -33,6 +34,7 @@ CleanBuild: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -73,6 +75,7 @@ IncrementalBuild: }, "program": { "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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -81,6 +84,7 @@ IncrementalBuild: "options": { "composite": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -183,6 +187,8 @@ CleanBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -190,6 +196,7 @@ CleanBuild: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -229,6 +236,8 @@ IncrementalBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -236,6 +245,7 @@ IncrementalBuild: "options": { "composite": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js index 290f6b07ee09c..4e9e2ebdec5fc 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -103,7 +103,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -148,12 +148,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -162,13 +164,14 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1159 + "size": 1632 } //// [/src/project2/outFile.d.ts] @@ -184,7 +187,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -225,11 +228,15 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -237,13 +244,14 @@ declare module "g" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 943 + "size": 1695 } @@ -305,7 +313,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -331,12 +339,14 @@ No shapes updated in the builder:: }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -345,13 +355,14 @@ No shapes updated in the builder:: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1173 + "size": 1646 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -436,7 +447,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":764,"kind":"text"}],"hash":"15340862075-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -524,12 +535,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -538,13 +551,14 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2104 + "size": 2577 } //// [/src/project2/outFile.js] @@ -569,7 +583,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -644,11 +658,15 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -656,13 +674,14 @@ declare module "g" { "options": { "composite": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1617 + "size": 2369 } @@ -774,7 +793,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":786,"kind":"text"}],"hash":"18304376609-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var blocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -863,12 +882,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -877,13 +898,14 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": false, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2145 + "size": 2618 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index 3dd66f3c56cd0..8329e45314cdf 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -25,6 +25,7 @@ CleanBuild: }, "program": { "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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -33,6 +34,7 @@ CleanBuild: "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, @@ -71,6 +73,7 @@ IncrementalBuild: }, "program": { "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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -78,6 +81,7 @@ IncrementalBuild: }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index a5516cd28d859..35536ae55f9e2 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -111,7 +111,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -156,12 +156,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -170,11 +172,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 854 + "size": 1327 } @@ -282,7 +285,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -308,12 +311,14 @@ No shapes updated in the builder:: }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -322,11 +327,12 @@ No shapes updated in the builder:: "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 868 + "size": 1341 } @@ -407,7 +413,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -453,12 +459,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -467,11 +475,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 918 + "size": 1391 } @@ -565,7 +574,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -655,12 +664,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -668,11 +679,12 @@ declare module "d" { }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1860 + "size": 2333 } @@ -812,7 +824,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -903,12 +915,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -916,11 +930,12 @@ declare module "d" { }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1901 + "size": 2374 } @@ -986,7 +1001,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1032,12 +1047,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1046,11 +1063,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 952 + "size": 1425 } @@ -1132,7 +1150,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1179,12 +1197,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1193,11 +1213,12 @@ declare module "d" { "options": { "declaration": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1008 + "size": 1481 } @@ -1315,7 +1336,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1411,12 +1432,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1424,10 +1447,11 @@ declare module "d" { }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2126 + "size": 2599 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js index 43886fb6df6ce..bbdf10e6b33da 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -25,6 +25,7 @@ CleanBuild: }, "program": { "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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -33,6 +34,7 @@ CleanBuild: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -73,6 +75,7 @@ IncrementalBuild: }, "program": { "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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -80,6 +83,7 @@ IncrementalBuild: }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", @@ -185,6 +189,8 @@ CleanBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -192,6 +198,7 @@ CleanBuild: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -231,12 +238,15 @@ IncrementalBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -327,6 +337,8 @@ CleanBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -334,6 +346,7 @@ CleanBuild: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", @@ -373,12 +386,15 @@ IncrementalBuild: }, "program": { "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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js index a141763f9204a..6eb0e6ee6bea3 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -103,7 +103,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -148,12 +148,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -162,13 +164,14 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1159 + "size": 1632 } //// [/src/project2/outFile.d.ts] @@ -184,7 +187,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -225,11 +228,15 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -237,13 +244,14 @@ declare module "g" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 943 + "size": 1695 } @@ -305,7 +313,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] @@ -331,12 +339,14 @@ No shapes updated in the builder:: }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -345,13 +355,14 @@ No shapes updated in the builder:: "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1173 + "size": 1646 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -425,7 +436,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -471,12 +482,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -485,18 +498,68 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1252 + "size": 1725 } -//// [/src/project2/outFile.tsbuildinfo] file written with same contents +//// [/src/project2/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + //// [/src/project2/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents +//// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] +{ + "bundle": { + "commonSourceDirectory": "./src", + "sourceFiles": [ + "./src/e.ts", + "./src/f.ts", + "./src/g.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 153, + "kind": "text" + } + ], + "hash": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n" + } + }, + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", + "./src/e.ts", + "./src/f.ts", + "./src/g.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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", + "latestChangedDtsFile": "./outFile.d.ts" + }, + "version": "FakeTSVersion", + "size": 1724 +} + Change:: emit js files @@ -579,7 +642,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":801,"kind":"text"}],"hash":"37592873652-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -669,12 +732,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -682,13 +747,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2194 + "size": 2667 } //// [/src/project2/outFile.js] @@ -713,7 +779,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -788,24 +854,29 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1589 + "size": 2370 } @@ -899,7 +970,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":823,"kind":"text"}],"hash":"9191455833-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -990,12 +1061,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1003,13 +1076,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2235 + "size": 2708 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -1053,7 +1127,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":232,"kind":"text"}],"hash":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1099,12 +1173,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1113,13 +1189,14 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "18384476281-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1286 + "size": 1759 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -1194,7 +1271,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"dts":{"sections":[{"pos":0,"end":262,"kind":"text"}],"hash":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1241,12 +1318,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1255,17 +1334,18 @@ declare module "d" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1374 + "size": 1847 } //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1306,11 +1386,15 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "-2431696425-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" @@ -1318,13 +1402,14 @@ declare module "g" { "options": { "composite": true, "emitDeclarationOnly": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 943 + "size": 1756 } @@ -1434,7 +1519,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"js":{"sections":[{"pos":0,"end":919,"kind":"text"}],"hash":"-5114307412-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.aaa = exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n var aa = 10;\r\n exports.aaa = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a2 = exports.aaaaa = exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n var alocal = 10;\r\n var aaaa = 10;\r\n exports.aaaaa = 10;\r\n exports.a2 = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":289,"kind":"text"}],"hash":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.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; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1530,12 +1615,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.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; };", "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1543,18 +1630,19 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2520 + "size": 2993 } //// [/src/project2/outFile.js] file written with same contents //// [/src/project2/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./src","sourceFiles":["./src/e.ts","./src/f.ts","./src/g.ts"],"js":{"sections":[{"pos":0,"end":533,"kind":"text"}],"hash":"-7709210320-define(\"e\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.e = void 0;\r\n exports.e = 10;\r\n});\r\ndefine(\"f\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.f = void 0;\r\n exports.f = a_1.a;\r\n});\r\ndefine(\"g\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.g = void 0;\r\n exports.g = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"hash":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.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; };","1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1629,23 +1717,28 @@ declare module "g" { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.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; };", + "../project1/outfile.d.ts": "1359716995-declare module \"a\" {\r\n export const a = 10;\r\n export const aaa = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n export const aaaaa = 10;\r\n export const a2 = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "./src/e.ts": "-13789510868-export const e = 10;", "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-13732890156-declare module \"e\" {\r\n export const e = 10;\r\n}\r\ndeclare module \"f\" {\r\n export const f = 10;\r\n}\r\ndeclare module \"g\" {\r\n export const g = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1589 + "size": 2430 } 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 7fcb002dbb525..d87dfe3ef4a0f 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 @@ -134,7 +134,7 @@ type Nominal = T & { //// [/src/common/common.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"fileNames":["./nominal.js"],"fileInfos":["-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n"],"options":{"composite":true,"declaration":true,"outFile":"./common.js"},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","latestChangedDtsFile":"./common.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./nominal.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"4974280634-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","./nominal.js"],"fileInfos":["-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n"],"options":{"composite":true,"declaration":true,"outFile":"./common.js","rootDir":"..","skipLibCheck":true},"outSignature":"9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","latestChangedDtsFile":"./common.d.ts"},"version":"FakeTSVersion"} //// [/src/common/common.tsbuildinfo.baseline.txt] ====================================================================== @@ -187,21 +187,25 @@ type Nominal = T & { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "./nominal.js" ], "fileInfos": { + "../../lib/lib.d.ts": "-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "./nominal.js": "-1932521178-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\n" }, "options": { "composite": true, "declaration": true, - "outFile": "./common.js" + "outFile": "./common.js", + "rootDir": "..", + "skipLibCheck": true }, "outSignature": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n", "latestChangedDtsFile": "./common.d.ts" }, "version": "FakeTSVersion", - "size": 773 + "size": 1481 } //// [/src/sub-project/sub-project.d.ts] @@ -227,7 +231,7 @@ var c = /** @type {*} */ (null); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":182,"kind":"text"}],"hash":"10912344054-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../common/common.d.ts","./index.js"],"fileInfos":["-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js","rootDir":"..","skipLibCheck":true},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -325,21 +329,27 @@ type MyNominal = Nominal; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../common/common.d.ts", "./index.js" ], "fileInfos": { + "../../lib/lib.d.ts": "-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "../common/common.d.ts": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n", "./index.js": "2691219051-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(null);\n" }, "options": { "composite": true, "declaration": true, - "outFile": "./sub-project.js" + "outFile": "./sub-project.js", + "rootDir": "..", + "skipLibCheck": true }, "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "latestChangedDtsFile": "./sub-project.d.ts" }, "version": "FakeTSVersion", - "size": 1414 + "size": 2230 } //// [/src/sub-project-2/sub-project-2.d.ts] @@ -381,7 +391,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":182,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":182,"kind":"text"}]},{"pos":182,"end":338,"kind":"text"}],"hash":"13097871248-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (null);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/sub-project.d.ts","./index.js"],"fileInfos":["-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js","rootDir":"..","skipLibCheck":true},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -495,21 +505,27 @@ declare namespace variable { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../sub-project/sub-project.d.ts", "./index.js" ], "fileInfos": { + "../../lib/lib.d.ts": "-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "../sub-project/sub-project.d.ts": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "./index.js": "2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n" }, "options": { "composite": true, "declaration": true, - "outFile": "./sub-project-2.js" + "outFile": "./sub-project-2.js", + "rootDir": "..", + "skipLibCheck": true }, "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", "latestChangedDtsFile": "./sub-project-2.d.ts" }, "version": "FakeTSVersion", - "size": 2019 + "size": 2991 } @@ -542,7 +558,7 @@ var c = /** @type {*} */ (undefined); //// [/src/sub-project/sub-project.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js"},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":84,"kind":"prepend","data":"../common/common.js","texts":[{"pos":0,"end":84,"kind":"text"}]},{"pos":84,"end":187,"kind":"text"}],"hash":"8976814925-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\n"},"dts":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../common/common.d.ts","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":199,"kind":"text"}],"hash":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../common/common.d.ts","./index.js"],"fileInfos":["-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n","7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project.js","rootDir":"..","skipLibCheck":true},"outSignature":"21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","latestChangedDtsFile":"./sub-project.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project/sub-project.tsbuildinfo.baseline.txt] ====================================================================== @@ -640,21 +656,27 @@ type MyNominal = Nominal; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../common/common.d.ts", "./index.js" ], "fileInfos": { + "../../lib/lib.d.ts": "-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "../common/common.d.ts": "9654123581-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n", "./index.js": "7546612770-/**\n * @typedef {Nominal} MyNominal\n */\nconst c = /** @type {*} */(undefined);\n" }, "options": { "composite": true, "declaration": true, - "outFile": "./sub-project.js" + "outFile": "./sub-project.js", + "rootDir": "..", + "skipLibCheck": true }, "outSignature": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "latestChangedDtsFile": "./sub-project.d.ts" }, "version": "FakeTSVersion", - "size": 1423 + "size": 2239 } //// [/src/sub-project-2/sub-project-2.js] @@ -678,7 +700,7 @@ function getVar() { //// [/src/sub-project-2/sub-project-2.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["./index.js"],"fileInfos":["2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js"},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["./index.js"],"js":{"sections":[{"pos":0,"end":187,"kind":"prepend","data":"../sub-project/sub-project.js","texts":[{"pos":0,"end":187,"kind":"text"}]},{"pos":187,"end":343,"kind":"text"}],"hash":"-7775859865-/**\r\n * @template T, Name\r\n * @typedef {T & {[Symbol.species]: Name}} Nominal\r\n */\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\nvar c = /** @type {*} */ (undefined);\r\nvar variable = {\r\n key: /** @type {MyNominal} */ ('value')\r\n};\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\nfunction getVar() {\r\n return 'key';\r\n}\r\n"},"dts":{"sections":[{"pos":0,"end":199,"kind":"prepend","data":"../sub-project/sub-project.d.ts","texts":[{"pos":0,"end":199,"kind":"text"}]},{"pos":199,"end":356,"kind":"text"}],"hash":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n"}},"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/sub-project.d.ts","./index.js"],"fileInfos":["-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n","2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n"],"options":{"composite":true,"declaration":true,"outFile":"./sub-project-2.js","rootDir":"..","skipLibCheck":true},"outSignature":"1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n","latestChangedDtsFile":"./sub-project-2.d.ts"},"version":"FakeTSVersion"} //// [/src/sub-project-2/sub-project-2.tsbuildinfo.baseline.txt] ====================================================================== @@ -792,20 +814,26 @@ declare namespace variable { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../sub-project/sub-project.d.ts", "./index.js" ], "fileInfos": { + "../../lib/lib.d.ts": "-32082413277-/// \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; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", + "../sub-project/sub-project.d.ts": "21135699026-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n", "./index.js": "2078909278-const variable = {\n key: /** @type {MyNominal} */('value'),\n};\n\n/**\n * @return {keyof typeof variable}\n */\nfunction getVar() {\n return 'key';\n}\n" }, "options": { "composite": true, "declaration": true, - "outFile": "./sub-project-2.js" + "outFile": "./sub-project-2.js", + "rootDir": "..", + "skipLibCheck": true }, "outSignature": "1925232864-type Nominal = T & {\r\n [Symbol.species]: Name;\r\n};\r\n/**\r\n * @typedef {Nominal} MyNominal\r\n */\r\ndeclare const c: any;\r\ntype MyNominal = Nominal;\r\n/**\r\n * @return {keyof typeof variable}\r\n */\r\ndeclare function getVar(): keyof typeof variable;\r\ndeclare namespace variable {\r\n const key: MyNominal;\r\n}\r\n", "latestChangedDtsFile": "./sub-project-2.d.ts" }, "version": "FakeTSVersion", - "size": 2024 + "size": 2996 } 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 5329dc7ee0acb..532a6e076cd9d 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -240,10 +240,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -252,12 +254,16 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 60ea0f6348f4c..f49a243631e3c 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -120,10 +120,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -132,13 +134,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -168,7 +174,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -232,11 +238,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -245,13 +253,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/first/first_PART1.ts] @@ -391,7 +403,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -550,9 +562,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -560,13 +578,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } //// [/src/third/third_part1.ts] 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 175b588758742..ab102cb11980b 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -120,10 +120,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -132,13 +134,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -168,7 +174,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -232,11 +238,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -245,13 +253,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/first/first_PART1.ts] @@ -391,7 +403,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -550,9 +562,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -560,13 +578,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } //// [/src/third/third_part1.ts] 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 9aaa3c787b289..5184668da145d 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -257,10 +257,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -269,13 +271,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -305,7 +311,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -369,11 +375,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -382,13 +390,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -443,7 +455,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -602,20 +614,30 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 } }, "version": "FakeTSVersion", - "size": 3261 + "size": 4194 } @@ -673,7 +695,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -738,11 +760,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -751,13 +775,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -852,7 +880,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"text"}],"mapHash":"-13910258475-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"6824274954-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -918,11 +946,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-14181918815-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -931,13 +961,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2273 + "size": 2813 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -974,7 +1008,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}],"mapHash":"56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":144,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":144,"kind":"text"}]},{"pos":144,"end":429,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":144,"end":429,"kind":"text"}]},{"pos":429,"end":465,"kind":"text"}],"mapHash":"56762149066-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29869404161-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1135,19 +1169,29 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 } }, "version": "FakeTSVersion", - "size": 3381 + "size": 4314 } 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 b34ce96d34579..b7a378ef555fb 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 @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -120,10 +120,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -132,13 +134,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -168,7 +174,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -232,11 +238,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -245,13 +253,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/first/first_PART1.ts] @@ -391,7 +403,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -550,9 +562,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -560,13 +578,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } //// [/src/third/third_part1.ts] @@ -626,7 +648,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] @@ -662,10 +684,12 @@ exitCode:: ExitStatus.Success }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -674,13 +698,17 @@ exitCode:: ExitStatus.Success "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 2250 + "size": 2787 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -688,7 +716,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] @@ -725,11 +753,13 @@ exitCode:: ExitStatus.Success }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -738,13 +768,17 @@ exitCode:: ExitStatus.Success "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 2132 + "size": 2672 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -752,7 +786,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] @@ -839,9 +873,15 @@ exitCode:: ExitStatus.Success }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -849,12 +889,16 @@ exitCode:: ExitStatus.Success "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 3670 + "size": 4603 } 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 a213cd4f1c501..52f232de294ad 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -257,10 +257,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -269,13 +271,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -305,7 +311,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -369,11 +375,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -382,13 +390,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] 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 c17bbc546a79d..6dec49d4bbb99 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 @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -120,10 +120,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -132,13 +134,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -229,11 +235,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -242,13 +250,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/first/first_PART1.ts] @@ -388,7 +400,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -547,9 +559,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -557,13 +575,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } //// [/src/third/third_part1.ts] @@ -621,7 +643,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents 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 a1c77fc657511..a18c89e294bf3 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 @@ -186,7 +186,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -257,10 +257,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -269,13 +271,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -305,7 +311,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -369,11 +375,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -382,13 +390,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -443,7 +455,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -602,9 +614,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -612,13 +630,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } 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 5353fb41150d4..696970023b343 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/baseline-sectioned-sourcemaps.js @@ -557,7 +557,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -628,10 +628,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -640,13 +642,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -950,7 +956,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1014,11 +1020,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1027,13 +1035,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1772,7 +1784,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1931,9 +1943,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1941,13 +1959,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } @@ -2310,7 +2332,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2374,11 +2396,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2387,13 +2411,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2121 + "size": 2661 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3132,7 +3160,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3291,9 +3319,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3301,13 +3335,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3659 + "size": 4591 } @@ -3560,7 +3598,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3625,11 +3663,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3638,13 +3678,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2192 + "size": 2732 } //// [/src/third/thirdjs/output/third-output.js] @@ -4148,7 +4192,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4308,9 +4352,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4318,12 +4368,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3718 + "size": 4650 } 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 0bcf868e7106c..0f8d41059512d 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 @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -606,10 +606,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -618,13 +620,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -928,7 +934,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -992,11 +998,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1005,13 +1013,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] 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 c155398986858..af0a3ac8cc1f0 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 @@ -707,7 +707,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -806,10 +806,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -818,13 +820,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 3407 + "size": 3944 } //// [/src/first/bin/first-output.d.ts] @@ -1274,7 +1280,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1366,11 +1372,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1379,13 +1387,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3272 + "size": 3812 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2515,7 +2527,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":729,"kind":"text"}]},{"pos":729,"end":1133,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":729,"end":1133,"kind":"text"}]},{"pos":1133,"end":1286,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"13581617434-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-23129477522-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":431,"kind":"text"}],"mapHash":"54171448521-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-33223961194-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2710,9 +2722,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -2720,13 +2738,17 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-32112437412-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5649 + "size": 6692 } @@ -3237,7 +3259,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13521552725-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26588342931-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3329,11 +3351,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "2612047891-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3342,13 +3366,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3265 + "size": 3805 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -4478,7 +4506,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":728,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":728,"kind":"text"}]},{"pos":728,"end":1132,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":728,"end":1132,"kind":"text"}]},{"pos":1132,"end":1285,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"40950852308-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"41425838846-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4673,9 +4701,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -4683,13 +4717,17 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5643 + "size": 6684 } @@ -5069,7 +5107,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28759009220-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"1468775084-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34379070423-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5162,11 +5200,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "4727019029-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5175,13 +5215,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3339 + "size": 3879 } //// [/src/third/thirdjs/output/third-output.js] @@ -6018,7 +6062,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":745,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":745,"kind":"text"}]},{"pos":745,"end":1149,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":745,"end":1149,"kind":"text"}]},{"pos":1149,"end":1302,"kind":"text"}],"mapHash":"-62137762555-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"18085607351-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"13317128515-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6214,9 +6258,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -6224,13 +6274,17 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5704 + "size": 6745 } @@ -6649,7 +6703,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":166,"kind":"text"}],"mapHash":"-18585329978-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3069979133-var s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":207,"kind":"text"}],"mapHash":"34106245240-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-9224545833-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6716,11 +6770,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2616863878-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -6729,13 +6785,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2430 + "size": 2970 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -7784,7 +7844,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":668,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":668,"kind":"text"}]},{"pos":668,"end":1072,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":668,"end":1072,"kind":"text"}]},{"pos":1072,"end":1225,"kind":"text"}],"mapHash":"-23181551528-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-38842838411-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":207,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":207,"kind":"text"}]},{"pos":207,"end":360,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":207,"end":360,"kind":"text"}]},{"pos":360,"end":430,"kind":"text"}],"mapHash":"-7466973756-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"-8147070778-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7978,9 +8038,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-7262792496-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -7988,12 +8054,16 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-2844223860-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5492 + "size": 6533 } 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 ff033acb16432..36af008af5529 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 @@ -683,7 +683,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":906,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-21017865726-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-42811698101-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":153,"kind":"text"}],"mapHash":"-13719015667-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-21852951798-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -782,10 +782,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -794,13 +796,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 3407 + "size": 3944 } //// [/src/first/bin/first-output.d.ts] @@ -1141,7 +1147,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":150,"kind":"text"}],"mapHash":"-25671855582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"32906530714-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1207,11 +1213,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-4194720312-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1220,13 +1228,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2362 + "size": 2902 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2146,7 +2158,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":652,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":652,"kind":"text"}]},{"pos":652,"end":1056,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":652,"end":1056,"kind":"text"}]},{"pos":1056,"end":1092,"kind":"text"}],"mapHash":"-21009818477-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;ACXtC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"5285022082-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2330,9 +2342,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2340,13 +2358,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4891 + "size": 5934 } @@ -2595,7 +2617,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2662,11 +2684,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2675,13 +2699,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2435 + "size": 2975 } //// [/src/third/thirdjs/output/third-output.js] @@ -3329,7 +3357,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":669,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":669,"kind":"text"}]},{"pos":669,"end":1073,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":669,"end":1073,"kind":"text"}]},{"pos":1073,"end":1109,"kind":"text"}],"mapHash":"36423822013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-8653612453-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"5301495744-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3514,9 +3542,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3524,13 +3558,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4950 + "size": 5993 } @@ -4038,7 +4076,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4131,11 +4169,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -4144,13 +4184,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3347 + "size": 3887 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5164,7 +5208,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":502,"end":746,"kind":"text"}]},{"pos":746,"end":1150,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":746,"end":1150,"kind":"text"}]},{"pos":1150,"end":1186,"kind":"text"}],"mapHash":"13211411498-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-35222837155-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":361,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":361,"kind":"text"}]},{"pos":361,"end":380,"kind":"text"}],"mapHash":"51589947999-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-30369240401-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5351,9 +5395,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-23919740017-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5361,12 +5411,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-35165395659-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5165 + "size": 6208 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js index 41ec3cfef432f..93b7752f3e99d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/explainFiles.js @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -630,10 +630,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -642,13 +644,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -952,7 +958,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1016,11 +1022,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1029,13 +1037,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1774,7 +1786,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1933,9 +1945,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1943,13 +1961,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3663 + "size": 4596 } @@ -2309,7 +2331,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2373,11 +2395,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2386,13 +2410,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2121 + "size": 2661 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3131,7 +3159,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":394,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":394,"kind":"text"}]},{"pos":394,"end":430,"kind":"text"}],"mapHash":"-26819990576-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"3234262685-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3290,9 +3318,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3300,13 +3334,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3659 + "size": 4591 } @@ -3545,7 +3583,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3610,11 +3648,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3623,13 +3663,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2192 + "size": 2732 } //// [/src/third/thirdjs/output/third-output.js] @@ -4133,7 +4177,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":411,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":411,"kind":"text"}]},{"pos":411,"end":447,"kind":"text"}],"mapHash":"24739356036-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"22971978358-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4293,9 +4337,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4303,12 +4353,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3718 + "size": 4650 } 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 9e8c10dbcfe0a..31dbffe38fdb1 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 @@ -929,7 +929,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":2092,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30083835302-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE\"}","hash":"10392077080-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":267,"kind":"text"}],"mapHash":"-6793954603-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC\"}","hash":"-6006784725-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1081,10 +1081,12 @@ declare const secondsecond_part2_ar: number[]; }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-12564528434-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\nfunction forsecondsecond_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../second/second_part2.ts": "-17653520187-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n\nfunction secondsecond_part2Spread(...b: number[]) { }\nconst secondsecond_part2_ar = [20, 30];\nsecondsecond_part2Spread(10, ...secondsecond_part2_ar);" }, @@ -1092,14 +1094,19 @@ declare const secondsecond_part2_ar: number[]; "composite": true, "declaration": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 5522 + "size": 6085 } //// [/src/first/bin/first-output.d.ts] @@ -1777,7 +1784,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-35433619521-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-57982334156-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1922,11 +1929,13 @@ declare const firstfirst_part3_ar: number[]; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" @@ -1934,14 +1943,19 @@ declare const firstfirst_part3_ar: number[]; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5364 + "size": 5930 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3659,7 +3673,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1907,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1907,"kind":"text"}]},{"pos":1907,"end":2601,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1907,"end":2601,"kind":"text"}]},{"pos":2601,"end":3036,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-62895833357-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-90037683317-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3927,23 +3941,34 @@ declare const thirdthird_part1_ar: number[]; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "../../../2/second-output.d.ts": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" }, "options": { "composite": true, "declaration": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9329 + "size": 10630 } @@ -4476,7 +4501,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"-30182735568-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-29577924435-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"32680275599-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4622,11 +4647,13 @@ declare const firstfirst_part3_ar: number[]; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" @@ -4634,14 +4661,19 @@ declare const firstfirst_part3_ar: number[]; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5439 + "size": 6005 } //// [/src/third/thirdjs/output/third-output.js] @@ -5904,7 +5936,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1924,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1924,"kind":"text"}]},{"pos":1924,"end":2618,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1924,"end":2618,"kind":"text"}]},{"pos":2618,"end":3053,"kind":"text"}],"mapHash":"5963265220-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"-25778453212-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"25118173797-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6173,23 +6205,34 @@ declare const thirdthird_part1_ar: number[]; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "../../../2/second-output.d.ts": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" }, "options": { "composite": true, "declaration": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9387 + "size": 10688 } @@ -6812,7 +6855,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1345,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-26203276582-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"42519965252-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":318,"kind":"text"}],"mapHash":"8802529616-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-53733421126-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);"],"options":{"composite":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6936,11 +6979,13 @@ declare const firstfirst_part3_ar: number[]; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "998368782-function f() {\r\n return \"JS does hoists\";\r\n}\nfunction firstfirst_part3Spread(...b: number[]) { }\nconst firstfirst_part3_ar = [20, 30];\nfirstfirst_part3Spread(10, ...firstfirst_part3_ar);" @@ -6948,14 +6993,19 @@ declare const firstfirst_part3_ar: number[]; "options": { "composite": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 4545 + "size": 5111 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -8586,7 +8636,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1847,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1847,"kind":"text"}]},{"pos":1847,"end":2541,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1847,"end":2541,"kind":"text"}]},{"pos":2541,"end":2976,"kind":"text"}],"mapHash":"26169118295-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE;ACDnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AACD,SAAS,yBAAyB;IAClC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACRvD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AACD,SAAS,sBAAsB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACnD,IAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACrC,sBAAsB,8BAAC,EAAE,UAAK,mBAAmB,WAAE\"}","hash":"72997038466-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nfunction firstfirst_part3Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar firstfirst_part3_ar = [20, 30];\r\nfirstfirst_part3Spread.apply(void 0, __spreadArray([10], __read(firstfirst_part3_ar), false));\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction forsecondsecond_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nfunction secondsecond_part2Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part2_ar = [20, 30];\r\nsecondsecond_part2Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part2_ar), false));\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nfunction thirdthird_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar thirdthird_part1_ar = [20, 30];\r\nthirdthird_part1Spread.apply(void 0, __spreadArray([10], __read(thirdthird_part1_ar), false));\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]}},"dts":{"sections":[{"pos":0,"end":318,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":318,"kind":"text"}]},{"pos":318,"end":585,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":318,"end":585,"kind":"text"}]},{"pos":585,"end":765,"kind":"text"}],"mapHash":"18621572486-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC;ACJrC,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AACD,iBAAS,yBAAyB,SAEjC;ACbD,cAAM,CAAC;IACH,WAAW;CAGd;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACPvC,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B;AACD,iBAAS,sBAAsB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACnD,QAAA,MAAM,mBAAmB,UAAW,CAAC\"}","hash":"-60677636699-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n","-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n","-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);"],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8853,22 +8903,33 @@ declare const thirdthird_part1_ar: number[]; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-42349562125-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\n", + "../../../2/second-output.d.ts": "-13151345584-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\n", "../../third_part1.ts": "-1627128876-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}\nfunction thirdthird_part1Spread(...b: number[]) { }\nconst thirdthird_part1_ar = [20, 30];\nthirdthird_part1Spread(10, ...thirdthird_part1_ar);" }, "options": { "composite": true, "declaration": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-71164455765-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare function firstfirst_part3Spread(...b: number[]): void;\r\ndeclare const firstfirst_part3_ar: number[];\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function forsecondsecond_part1Rest(): void;\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare function secondsecond_part2Spread(...b: number[]): void;\r\ndeclare const secondsecond_part2_ar: number[];\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\ndeclare function thirdthird_part1Spread(...b: number[]): void;\r\ndeclare const thirdthird_part1_ar: number[];\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9172 + "size": 10473 } 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 02b3102c0a4c1..0311f951ccd3a 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 @@ -775,7 +775,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1471,"kind":"text"}],"sources":{"helpers":["typescript:read","typescript:spreadArray"]},"mapHash":"-34534977022-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"53236375969-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":214,"kind":"text"}],"mapHash":"14094696036-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-14757968608-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"downlevelIteration":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -903,10 +903,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-24334061923-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nfunction secondsecond_part1Spread(...b: number[]) { }\nconst secondsecond_part1_ar = [20, 30];\nsecondsecond_part1Spread(10, ...secondsecond_part1_ar);", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -914,14 +916,19 @@ declare class C { "composite": true, "declaration": true, "declarationMap": true, + "downlevelIteration": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 4387 + "size": 4950 } //// [/src/first/bin/first-output.d.ts] @@ -1371,7 +1378,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":729,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-19791845071-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"15167709187-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1463,11 +1470,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2071921725-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1476,13 +1485,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3272 + "size": 3812 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2720,7 +2733,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1625,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1625,"kind":"text"}]},{"pos":1625,"end":2200,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1625,"end":2200,"kind":"text"}]},{"pos":2200,"end":2353,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-13780861725-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;ACbD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"-46955292405-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2962,9 +2975,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -2972,13 +2991,17 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7156 + "size": 8262 } @@ -3336,7 +3359,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":746,"kind":"text"}],"sources":{"helpers":["typescript:rest"]},"mapHash":"-28162747006-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7584727524-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22543277725-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;AEbD,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3429,11 +3452,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-5382108219-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3442,13 +3467,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 3347 + "size": 3887 } //// [/src/third/thirdjs/output/third-output.js] @@ -4357,7 +4386,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":500,"kind":"emitHelpers","data":"typescript:rest"},{"pos":502,"end":1006,"kind":"emitHelpers","data":"typescript:read"},{"pos":1008,"end":1396,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":1398,"end":1642,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1642,"kind":"text"}]},{"pos":1642,"end":2217,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1642,"end":2217,"kind":"text"}]},{"pos":2217,"end":2370,"kind":"text"}],"mapHash":"36408281972-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbhB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"13159318596-var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"27738518528-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAE/B;ACbD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4600,9 +4629,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -4610,13 +4645,17 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 7214 + "size": 8320 } @@ -5013,7 +5052,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":167,"kind":"text"}],"mapHash":"-28547337588-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"26845982355-var s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":208,"kind":"text"}],"mapHash":"22270452542-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;AEXtC,iBAAS,CAAC,WAET\"}","hash":"-27595933529-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5080,11 +5119,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "1776071466-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }console.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5093,13 +5134,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2435 + "size": 2975 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6255,7 +6300,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":1565,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":1398,"end":1565,"kind":"text"}]},{"pos":1565,"end":2140,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1565,"end":2140,"kind":"text"}]},{"pos":2140,"end":2293,"kind":"text"}],"mapHash":"10267526983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,SAAS,uBAAuB,KAAK,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXrD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,SAAS,wBAAwB;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AACrD,IAAM,qBAAqB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACvC,wBAAwB,8BAAC,EAAE,UAAK,qBAAqB,WAAE;ACdvD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC;AAChB,SAAS,uBAAuB;IAChC,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;AAChD,CAAC\"}","hash":"15398485858-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nfunction forfirstfirst_PART1Rest() { }\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nfunction secondsecond_part1Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar secondsecond_part1_ar = [20, 30];\r\nsecondsecond_part1Spread.apply(void 0, __spreadArray([10], __read(secondsecond_part1_ar), false));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n}\r\n//# sourceMappingURL=third-output.js.map","sources":{"helpers":["typescript:rest"]}},"dts":{"sections":[{"pos":0,"end":208,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":208,"kind":"text"}]},{"pos":208,"end":422,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":208,"end":422,"kind":"text"}]},{"pos":422,"end":492,"kind":"text"}],"mapHash":"11916833729-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AAGD,iBAAS,uBAAuB,SAAM;ACXtC,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,iBAAS,wBAAwB,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AACrD,QAAA,MAAM,qBAAqB,UAAW,CAAC;ACbvC,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC;AAEhB,iBAAS,uBAAuB,SAE/B\"}","hash":"2435669836-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n","-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6496,9 +6541,15 @@ declare function forthirdthird_part1Rest(): void; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-27894059104-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-22039916699-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "-362916705-var c = new C();\r\nc.doSomething();\r\nfunction forthirdthird_part1Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}" }, "options": { @@ -6506,12 +6557,16 @@ declare function forthirdthird_part1Rest(): void; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-10517557870-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function forfirstfirst_PART1Rest(): void;\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare function secondsecond_part1Spread(...b: number[]): void;\r\ndeclare const secondsecond_part1_ar: number[];\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\ndeclare function forthirdthird_part1Rest(): void;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 6999 + "size": 8105 } 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 e6f1a16f33b10..2b2aad0c2c4a3 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 @@ -601,7 +601,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":331,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"-3048025768-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"1999145944-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -742,10 +742,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -754,13 +756,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2885 + "size": 3421 } //// [/src/first/bin/first-output.d.ts] @@ -1081,7 +1087,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":140,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-16462635350-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"816706653-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1191,11 +1197,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "31392936222-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1204,13 +1212,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2528 + "size": 3067 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2012,7 +2024,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":172,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":172,"kind":"text"}]},{"pos":172,"end":457,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":172,"end":457,"kind":"text"}]},{"pos":457,"end":493,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"28083733311-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-57679879735-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"37827717207-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2244,9 +2256,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2254,13 +2272,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4368 + "size": 5300 } @@ -2641,7 +2663,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":139,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-4897215004-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"5422290221-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2751,11 +2773,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "36491275086-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2764,13 +2788,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2524 + "size": 3063 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3572,7 +3600,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":171,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":171,"kind":"text"}]},{"pos":171,"end":456,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":171,"end":456,"kind":"text"}]},{"pos":456,"end":492,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]},"mapHash":"-70914791687-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-48862390855-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3804,9 +3832,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3814,13 +3848,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4366 + "size": 5297 } @@ -4090,7 +4128,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4201,11 +4239,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -4214,13 +4254,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2600 + "size": 3139 } //// [/src/third/thirdjs/output/third-output.js] @@ -4782,7 +4826,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue3"},{"pos":62,"end":188,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":188,"kind":"text"}]},{"pos":188,"end":473,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":188,"end":473,"kind":"text"}]},{"pos":473,"end":509,"kind":"text"}],"mapHash":"39252034733-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-40480844526-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"5755872145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5015,9 +5059,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5025,13 +5075,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4424 + "size": 5355 } @@ -5448,7 +5502,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":172,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"\n\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}},{"pos":13,"end":26,"expression":{"pos":13,"end":26,"text":"myPrologue"}}]}]},"mapHash":"291662276-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"10669903364-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"22465488777-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEVD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5577,11 +5631,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "35213579206-\"myPrologue5\"\n\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5590,13 +5646,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2799 + "size": 3338 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -6423,7 +6483,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":76,"kind":"prologue","data":"myPrologue3"},{"pos":78,"end":204,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":78,"end":204,"kind":"text"}]},{"pos":204,"end":489,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":204,"end":489,"kind":"text"}]},{"pos":489,"end":525,"kind":"text"}],"mapHash":"-27088974530-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AACb,YAAY,CAAA;ACDZ,aAAa,CAAC;ACAd,aAAa,CAAC;AFMd,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGbf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AJVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-10456117680-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\n\"myPrologue3\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"\"myPrologue3\";\n\"myPrologue\";","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue3"}},{"pos":14,"end":28,"expression":{"pos":14,"end":27,"text":"myPrologue"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"-10856751979-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAEA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACVD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6665,9 +6725,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "419920190-\"myPrologue3\";\n\"myPrologue\";\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -6675,12 +6741,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4521 + "size": 5452 } 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 beb3a87452834..c224bc529fd3c 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 @@ -576,7 +576,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue2"},{"pos":31,"end":316,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]},{"file":1,"text":"\"myPrologue2\";","directives":[{"pos":0,"end":14,"expression":{"pos":0,"end":13,"text":"myPrologue2"}}]}]},"mapHash":"12655227837-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ADKd,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-1429825924-\"myPrologue\";\r\n\"myPrologue2\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"10908638301-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -699,10 +699,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-5295626911-\"myPrologue\"\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "18749993618-\"myPrologue2\";\nclass C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -711,13 +713,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2735 + "size": 3272 } //// [/src/first/bin/first-output.d.ts] @@ -1023,7 +1029,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1115,11 +1121,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1128,13 +1136,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2338 + "size": 2877 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1913,7 +1925,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40081010550-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21898750067-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2118,9 +2130,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2128,13 +2146,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4060 + "size": 4992 } @@ -2367,7 +2389,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-4938209840-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12866242701-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2460,11 +2482,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2473,13 +2497,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2411 + "size": 2950 } //// [/src/third/thirdjs/output/third-output.js] @@ -3021,7 +3049,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":44,"kind":"prologue","data":"myPrologue2"},{"pos":46,"end":173,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":46,"end":173,"kind":"text"}]},{"pos":173,"end":458,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":173,"end":458,"kind":"text"}]},{"pos":458,"end":494,"kind":"text"}],"mapHash":"-40026203606-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;ACAZ,aAAa,CAAC;ACId,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AJGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AILD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-19850184346-\"use strict\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"89480535-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3227,9 +3255,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3237,13 +3271,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4120 + "size": 5052 } @@ -3623,7 +3661,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":158,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue5\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":13,"expression":{"pos":0,"end":13,"text":"myPrologue5"}}]}]},"mapHash":"-25421726346-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;AAKb,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"17340827019-\"use strict\";\r\n\"myPrologue5\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3734,11 +3772,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2496167435-\"myPrologue5\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3747,13 +3787,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2609 + "size": 3148 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4560,7 +4604,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":29,"kind":"prologue","data":"myPrologue5"},{"pos":31,"end":44,"kind":"prologue","data":"myPrologue"},{"pos":46,"end":60,"kind":"prologue","data":"myPrologue2"},{"pos":62,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":62,"end":189,"kind":"text"}]},{"pos":189,"end":474,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":189,"end":474,"kind":"text"}]},{"pos":474,"end":510,"kind":"text"}],"mapHash":"38125604309-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,aAAa,CAAA;ACAb,YAAY,CAAA;ACAZ,aAAa,CAAC;AFKd,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AGZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AHGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;AGLD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"18901376612-\"use strict\";\r\n\"myPrologue5\";\r\n\"myPrologue\";\r\n\"myPrologue2\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"30721496667-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACLD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4775,9 +4819,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4785,12 +4835,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4215 + "size": 5147 } 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 5d99d3ff7d2ce..5e99c74e7c058 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 @@ -567,7 +567,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -638,10 +638,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -650,13 +652,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2396 + "size": 2933 } //// [/src/first/bin/first-output.d.ts] @@ -967,7 +973,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"text"}],"mapHash":"-13636454783-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-21479222570-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"text"}],"mapHash":"-2225185530-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"15850402116-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1031,11 +1037,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-1632348754-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1044,13 +1052,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2298 + "size": 2838 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1800,7 +1812,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":143,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":143,"kind":"text"}]},{"pos":143,"end":428,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":143,"end":428,"kind":"text"}]},{"pos":428,"end":464,"kind":"text"}],"mapHash":"79536022840-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26217893813-#!someshebang first first_PART1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":190,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":190,"kind":"text"}]},{"pos":190,"end":290,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":190,"end":290,"kind":"text"}]},{"pos":290,"end":309,"kind":"text"}],"mapHash":"-28105379596-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"7825374755-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1959,9 +1971,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "21711084541-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1969,13 +1987,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "12975654825-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3805 + "size": 4811 } @@ -2346,7 +2368,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"text"}],"mapHash":"19403802043-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"13206440070-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2410,11 +2432,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "9069952478-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2423,13 +2447,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2290 + "size": 2830 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3179,7 +3207,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"44962007282-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-29427622917-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3338,9 +3366,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3348,13 +3382,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3803 + "size": 4808 } @@ -3612,7 +3650,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"text"}],"mapHash":"-2608504977-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"14215814399-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"text"}],"mapHash":"8765467712-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"18697147572-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3677,11 +3715,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "6925175936-#!someshebang first first_PART1\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "-270744556-#!someshebang first first_part2\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3690,13 +3730,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2364 + "size": 2904 } //// [/src/third/thirdjs/output/third-output.js] @@ -4206,7 +4250,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":33,"end":159,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":33,"end":159,"kind":"text"}]},{"pos":159,"end":444,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":159,"end":444,"kind":"text"}]},{"pos":444,"end":480,"kind":"text"}],"mapHash":"30932229030-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACDjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"62192084884-#!someshebang first first_PART1\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":33,"end":189,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":33,"end":189,"kind":"text"}]},{"pos":189,"end":289,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":189,"end":289,"kind":"text"}]},{"pos":289,"end":308,"kind":"text"}],"mapHash":"-21522518994-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"16587785107-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4366,9 +4410,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "21839278957-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "4470817290-#!someshebang third third_part1\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4376,12 +4426,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "12255510809-#!someshebang first first_PART1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3861 + "size": 4866 } 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 3960617118f05..4c6b5400ed0a1 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 @@ -544,7 +544,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":35,"end":320,"kind":"text"}],"mapHash":"-4207645659-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAKA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"4362029886-#!someshebang second second_part1\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":35,"end":135,"kind":"text"}],"mapHash":"-7527955494-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-16482341849-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -615,10 +615,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-8705047463-#!someshebang second second_part1\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -627,13 +629,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2396 + "size": 2933 } //// [/src/first/bin/first-output.d.ts] @@ -937,7 +943,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1001,11 +1007,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1014,13 +1022,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1765,7 +1777,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":145,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":145,"kind":"text"}]},{"pos":145,"end":430,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":145,"end":430,"kind":"text"}]},{"pos":430,"end":466,"kind":"text"}],"mapHash":"17881551829-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-3129593933-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1924,9 +1936,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1934,13 +1952,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3778 + "size": 4750 } @@ -2171,7 +2193,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2236,11 +2258,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2249,13 +2273,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.js] @@ -2762,7 +2790,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":35,"end":162,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":35,"end":162,"kind":"text"}]},{"pos":162,"end":447,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":162,"end":447,"kind":"text"}]},{"pos":447,"end":483,"kind":"text"}],"mapHash":"428292745-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACGD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACXD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-966991284-#!someshebang second second_part1\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":35,"end":192,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":35,"end":192,"kind":"text"}]},{"pos":192,"end":292,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":192,"end":292,"kind":"text"}]},{"pos":292,"end":311,"kind":"text"}],"mapHash":"-8603414798-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACXD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"33189836939-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2922,9 +2950,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "-11559081780-#!someshebang second second_part1\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2932,12 +2966,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "34342993937-#!someshebang second second_part1\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3834 + "size": 4806 } 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 dfb6e5d25433f..4bb19f75d4b5a 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 @@ -559,7 +559,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -658,10 +658,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -670,13 +672,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2456 + "size": 2992 } //// [/src/first/bin/first-output.d.ts] @@ -982,7 +988,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-18922522596-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"20463836756-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1074,11 +1080,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1087,13 +1095,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2338 + "size": 2877 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1834,7 +1846,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2021,9 +2033,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2031,13 +2049,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3877 + "size": 4809 } @@ -2402,7 +2424,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-11652069546-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"19032710212-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2494,11 +2516,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2507,13 +2531,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2333 + "size": 2872 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3254,7 +3282,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":124,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":124,"kind":"text"}]},{"pos":124,"end":409,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":124,"end":409,"kind":"text"}]},{"pos":409,"end":445,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"40638595723-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-13169387655-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3441,9 +3469,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3451,13 +3485,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3874 + "size": 4805 } @@ -3712,7 +3750,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"12349749002-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"35161351293-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3805,11 +3843,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3818,13 +3858,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2405 + "size": 2944 } //// [/src/third/thirdjs/output/third-output.js] @@ -4330,7 +4374,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":141,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":141,"kind":"text"}]},{"pos":141,"end":426,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":141,"end":426,"kind":"text"}]},{"pos":426,"end":462,"kind":"text"}],"mapHash":"17637681983-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"36110536402-\"use strict\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"4922242321-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4518,9 +4562,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4528,13 +4578,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3932 + "size": 4863 } @@ -4936,7 +4990,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}},{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-14273144424-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18535492742-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"11879278213-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5047,11 +5101,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "38656732144-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5060,13 +5116,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2600 + "size": 3139 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -5832,7 +5892,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":28,"kind":"prologue","data":"myPrologue"},{"pos":30,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":156,"kind":"text"}]},{"pos":156,"end":441,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":156,"end":441,"kind":"text"}]},{"pos":441,"end":477,"kind":"text"}],"mapHash":"47400624973-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"53781037051-\"use strict\";\r\n\"myPrologue\";\r\nvar s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map","sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]}},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":256,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":256,"kind":"text"}]},{"pos":256,"end":275,"kind":"text"}],"mapHash":"26964323861-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-22149225483-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6029,9 +6089,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -6039,12 +6105,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "-29474089221-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4025 + "size": 4956 } 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 71904e42fff13..a89beedc434ff 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 @@ -539,7 +539,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":300,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"","directives":[{"pos":-1,"end":-1,"expression":{"pos":-1,"end":-1,"text":"use strict"}}]}]},"mapHash":"-5973886303-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-4672698284-\"use strict\";\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":true,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -638,10 +638,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -650,13 +652,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": true, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2456 + "size": 2992 } //// [/src/first/bin/first-output.d.ts] @@ -960,7 +966,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1024,11 +1030,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1037,13 +1045,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1784,7 +1796,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":125,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":125,"kind":"text"}]},{"pos":125,"end":410,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":125,"end":410,"kind":"text"}]},{"pos":410,"end":446,"kind":"text"}],"mapHash":"2198167249-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22272074871-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1952,9 +1964,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1962,13 +1980,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3742 + "size": 4675 } @@ -2199,7 +2221,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2264,11 +2286,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2277,13 +2301,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.js] @@ -2789,7 +2817,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"use strict"},{"pos":15,"end":142,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":15,"end":142,"kind":"text"}]},{"pos":142,"end":427,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":142,"end":427,"kind":"text"}]},{"pos":427,"end":463,"kind":"text"}],"mapHash":"40579483013-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-23325199134-\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2958,9 +2986,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2968,13 +3002,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3802 + "size": 4735 } @@ -3352,7 +3390,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":142,"kind":"text"}],"sources":{"prologues":[{"file":0,"text":"\"myPrologue\"","directives":[{"pos":0,"end":12,"expression":{"pos":0,"end":12,"text":"myPrologue"}}]}]},"mapHash":"-32438518845-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-4722419494-\"myPrologue\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"18068494155-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AETD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3445,11 +3483,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "32790583232-\"myPrologue\"\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3458,13 +3498,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2453 + "size": 2993 } //// [/src/third/thirdjs/output/third-output.d.ts.map] @@ -4230,7 +4274,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":13,"kind":"prologue","data":"myPrologue"},{"pos":15,"end":28,"kind":"prologue","data":"use strict"},{"pos":30,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":30,"end":157,"kind":"text"}]},{"pos":157,"end":442,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":442,"kind":"text"}]},{"pos":442,"end":478,"kind":"text"}],"mapHash":"26598307091-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,YAAY,CAAA;;AAKZ,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACZf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-21386740853-\"myPrologue\";\r\n\"use strict\";\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"28971397851-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AACA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACTD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4408,9 +4452,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -4418,12 +4468,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3893 + "size": 4826 } 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 83c52ee3f3eb1..553002b1303ce 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 @@ -565,7 +565,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -636,10 +636,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -648,13 +650,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -1276,7 +1282,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-27619420124-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":24,"kind":"text"},{"pos":24,"end":363,"kind":"internal"},{"pos":365,"end":587,"kind":"text"}],"mapHash":"62640600936-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAKT,UAAiB,cAAc;QAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAEhC,6BAA6B,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;KAC9F;IAGD,UAAiB,YAAY;QAEzB,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;QAKpC,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAC;KACrC;IAGD,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AEnCD,iBAAS,CAAC,WAET\"}","hash":"30960745489-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1369,11 +1375,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-91898050992-namespace ts {\n /* @internal */\n /**\n * Subset of properties from SourceFile that are used in multiple utility functions\n */\n export interface SourceFileLike {\n readonly text: string;\n lineMap?: ReadonlyArray;\n /* @internal */\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\n }\n\n /* @internal */\n export interface RedirectInfo {\n /** Source file this redirects to. */\n readonly redirectTarget: SourceFile;\n /**\n * Source file for the duplicate package. This will not be used by the Program,\n * but we need to keep this around so we can watch for changes in underlying.\n */\n readonly unredirected: SourceFile;\n }\n\n // Source files are declarations when they are external modules.\n export interface SourceFile {\n someProp: string;\n }\n}interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1382,13 +1390,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 4424 + "size": 4964 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2241,7 +2253,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"29106911449-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AA+BA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACrCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":246,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":246,"kind":"text"}]},{"pos":246,"end":346,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":246,"end":346,"kind":"text"}]},{"pos":346,"end":365,"kind":"text"}],"mapHash":"21930574719-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,EAAE,CAAC;IAwBT,UAAiB,UAAU;QACvB,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AAAA,UAAU,QAAQ;IACf,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACnCD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"51037985711-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2405,9 +2417,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "44823486090-declare namespace ts {\r\n interface SourceFileLike {\r\n readonly text: string;\r\n lineMap?: ReadonlyArray;\r\n getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;\r\n }\r\n interface RedirectInfo {\r\n readonly redirectTarget: SourceFile;\r\n readonly unredirected: SourceFile;\r\n }\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2415,12 +2433,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "54982415925-declare namespace ts {\r\n interface SourceFile {\r\n someProp: string;\r\n }\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3937 + "size": 5348 } 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 26ca86d314232..d3f5ef551d08c 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 @@ -2751,7 +2751,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-4451840947-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3058,10 +3058,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -3070,13 +3074,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12348 + "size": 13109 } //// [/src/first/bin/first-output.d.ts] @@ -3380,7 +3388,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3451,11 +3459,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3464,13 +3474,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2179 + "size": 2719 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5510,7 +5524,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5721,9 +5735,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5731,13 +5749,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8053 + "size": 10016 } @@ -7507,7 +7530,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"35487435059-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7815,10 +7838,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -7827,13 +7854,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12407 + "size": 13168 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8024,7 +8055,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8096,11 +8127,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8109,13 +8142,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2252 + "size": 2792 } //// [/src/third/thirdjs/output/third-output.js] @@ -9898,7 +9935,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10110,9 +10147,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -10120,13 +10161,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8113 + "size": 10076 } @@ -10984,7 +11030,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"65800017434-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"text"}],"mapHash":"3227826561-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-105939128098-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"65800017434-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11285,10 +11331,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -11297,13 +11347,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12368 + "size": 13129 } //// [/src/first/bin/first-output.d.ts.map] @@ -11614,7 +11668,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11679,11 +11733,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -11692,13 +11748,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12025,7 +12085,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12240,9 +12300,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -12250,12 +12314,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8253 + "size": 10216 } 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 b905cd6d9a0d1..abe1eaa17d822 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 @@ -2481,7 +2481,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"119062312689-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"6253281662-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"119062312689-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEM,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACC,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACc,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2731,10 +2731,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -2743,13 +2745,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11131 + "size": 11668 } //// [/src/first/bin/first-output.d.ts] @@ -3053,7 +3059,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3124,11 +3130,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3137,13 +3145,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2179 + "size": 2719 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5183,7 +5195,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"89706277518-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5430,9 +5442,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5440,13 +5458,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8313 + "size": 10329 } @@ -5677,7 +5700,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"26534310144-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAe,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5749,11 +5772,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5762,13 +5787,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2252 + "size": 2792 } //// [/src/third/thirdjs/output/third-output.js] @@ -7551,7 +7580,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -7799,9 +7828,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -7809,13 +7844,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8373 + "size": 10389 } @@ -8166,7 +8206,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8231,11 +8271,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8244,13 +8286,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8577,7 +8623,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3180,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3180,"kind":"text"}]},{"pos":3180,"end":3216,"kind":"text"}],"mapHash":"111332820802-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACmB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACE;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACc;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-99251833333-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8828,9 +8874,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -8838,12 +8890,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8513 + "size": 10529 } 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 208c01ae3eae9..891e90a0382e9 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 @@ -2987,7 +2987,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"text"}],"mapHash":"73103866863-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-46276215625-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3294,10 +3294,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -3306,13 +3310,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 13789 + "size": 14565 } //// [/src/first/bin/first-output.d.ts] @@ -3622,7 +3630,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3693,11 +3701,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3706,13 +3716,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2217 + "size": 2758 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5852,7 +5866,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6063,9 +6077,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -6073,13 +6091,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8616 + "size": 10909 } @@ -7949,7 +7972,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"text"}],"mapHash":"-92108137693-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"52101774576-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":172,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}]},{"pos":172,"end":249,"kind":"text"},{"pos":249,"end":429,"kind":"internal"},{"pos":431,"end":463,"kind":"text"},{"pos":463,"end":975,"kind":"internal"},{"pos":977,"end":980,"kind":"text"},{"pos":980,"end":1505,"kind":"internal"},{"pos":1507,"end":1555,"kind":"text"}],"mapHash":"62262842155-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"63279926987-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8257,10 +8280,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -8269,13 +8296,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 13848 + "size": 14624 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8466,7 +8497,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8538,11 +8569,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8551,13 +8584,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2290 + "size": 2831 } //// [/src/third/thirdjs/output/third-output.js] @@ -10440,7 +10477,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10652,9 +10689,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "57021299184-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -10662,12 +10703,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8673 + "size": 10966 } 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 fa1ab2069aba0..7af740bc73202 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 @@ -2711,7 +2711,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1333,"kind":"internal"},{"pos":1335,"end":1383,"kind":"text"}],"mapHash":"-10387050907-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"46063415192-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3435,"kind":"text"}],"mapHash":"72728491936-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"33596295407-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":257,"kind":"internal"},{"pos":259,"end":291,"kind":"text"},{"pos":291,"end":803,"kind":"internal"},{"pos":805,"end":808,"kind":"text"},{"pos":808,"end":1333,"kind":"internal"},{"pos":1335,"end":1383,"kind":"text"}],"mapHash":"-10387050907-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;IACT,cAAc;IACd,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,MAAM;IACrB,cAAc,CAAC,IAAI,CAAC,IACM,MAAM,CADK;IACrC,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACxC;AACD,kBAAU,OAAO,CAAC;IACd,cAAc,CAAC,MAAa,CAAC;KAAI;IACjC,cAAc,CAAC,SAAgB,GAAG,SAAK;IACvC,cAAc,CAAC,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACnE,cAAc,CAAC,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IACjF,cAAc,CAAC,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC1D,cAAc,CAAC,KAAY,YAAY,GAAG,SAAS,CAAC;IACpD,cAAc,CAAQ,MAAM,aAAa,KAAK,CAAC;IAC/C,cAAc,CAAC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACtD;AACD,cAAc,CAAC,cAAM,SAAS;CAAG;AACjC,cAAc,CAAC,iBAAS,WAAW,SAAK;AACxC,cAAc,CAAC,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACxE,cAAc,CAAC,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC9E,cAAc,CAAC,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACnE,cAAc,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC;AAC7C,cAAc,CAAC,QAAA,MAAM,aAAa,KAAK,CAAC;AACxC,cAAc,CAAC,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC5C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"46063415192-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2961,10 +2961,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "5541258877-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /**@internal*/ constructor() { }\n /**@internal*/ prop: string;\n /**@internal*/ method() { }\n /**@internal*/ get c() { return 10; }\n /**@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /**@internal*/ export class C { }\n /**@internal*/ export function foo() {}\n /**@internal*/ export namespace someNamespace { export class C {} }\n /**@internal*/ export namespace someOther.something { export class someClass {} }\n /**@internal*/ export import someImport = someNamespace.C;\n /**@internal*/ export type internalType = internalC;\n /**@internal*/ export const internalConst = 10;\n /**@internal*/ export enum internalEnum { a, b, c }\n}\n/**@internal*/ class internalC {}\n/**@internal*/ function internalfoo() {}\n/**@internal*/ namespace internalNamespace { export class someClass {} }\n/**@internal*/ namespace internalOther.something { export class someClass {} }\n/**@internal*/ import internalImport = internalNamespace.someClass;\n/**@internal*/ type internalType = internalC;\n/**@internal*/ const internalConst = 10;\n/**@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -2973,13 +2975,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12536 + "size": 13074 } //// [/src/first/bin/first-output.d.ts] @@ -3289,7 +3295,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3360,11 +3366,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-28083977866-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3373,13 +3381,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2217 + "size": 2758 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5519,7 +5531,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3545,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3545,"kind":"text"}]},{"pos":3545,"end":3581,"kind":"text"}],"mapHash":"-35203587856-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-60456254652-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5766,9 +5778,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5776,13 +5794,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8876 + "size": 11223 } @@ -6013,7 +6036,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":54,"kind":"internal"},{"pos":56,"end":172,"kind":"text"}],"mapHash":"32981141636-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,cAAc,CAAC,UAAU,QAAQ;IAC7B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-2170893185-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -6085,11 +6108,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-39212946152-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -6098,13 +6123,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2290 + "size": 2831 } //// [/src/third/thirdjs/output/third-output.js] @@ -7987,7 +8016,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3562,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3562,"kind":"text"}]},{"pos":3562,"end":3598,"kind":"text"}],"mapHash":"76555087780-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,cAAc,CAAC;IAAgB,CAAC;IAEhC,cAAc,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAApB,cAAc,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACrC,cAAc,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAEzC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,cAAc,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IACjC,cAAc,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACvC,cAAc,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACnE,cAAc,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACjF,cAAc,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE1D,cAAc,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC/C,cAAc,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACvD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,cAAc,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AACjC,cAAc,CAAC,SAAS,WAAW,KAAI,CAAC;AACxC,cAAc,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACxE,cAAc,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC9E,cAAc,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEnE,cAAc,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACxC,cAAc,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC5C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"26825140445-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /**@internal*/ function normalC() {\r\n }\r\n /**@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /**@internal*/ get: function () { return 10; },\r\n /**@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /**@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /**@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /**@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /**@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /**@internal*/ normalN.someImport = someNamespace.C;\r\n /**@internal*/ normalN.internalConst = 10;\r\n /**@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/**@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/**@internal*/ function internalfoo() { }\r\n/**@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/**@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/**@internal*/ var internalImport = internalNamespace.someClass;\r\n/**@internal*/ var internalConst = 10;\r\n/**@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8235,9 +8264,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-8362838664-/**@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "43837797597-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n /**@internal*/ constructor();\r\n /**@internal*/ prop: string;\r\n /**@internal*/ method(): void;\r\n /**@internal*/ get c(): number;\r\n /**@internal*/ set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n /**@internal*/ class C {\r\n }\r\n /**@internal*/ function foo(): void;\r\n /**@internal*/ namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n /**@internal*/ namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n /**@internal*/ export import someImport = someNamespace.C;\r\n /**@internal*/ type internalType = internalC;\r\n /**@internal*/ const internalConst = 10;\r\n /**@internal*/ enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\n/**@internal*/ declare class internalC {\r\n}\r\n/**@internal*/ declare function internalfoo(): void;\r\n/**@internal*/ declare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ declare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\n/**@internal*/ import internalImport = internalNamespace.someClass;\r\n/**@internal*/ type internalType = internalC;\r\n/**@internal*/ declare const internalConst = 10;\r\n/**@internal*/ declare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -8245,12 +8280,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8933 + "size": 11280 } 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 971becbddc70c..fff59c9a2c40b 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 @@ -560,7 +560,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -631,10 +631,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -643,13 +645,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -1435,7 +1441,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"text"}],"mapHash":"-31206929079-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"12609243978-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"text"},{"pos":42,"end":156,"kind":"internal"},{"pos":158,"end":276,"kind":"text"},{"pos":276,"end":371,"kind":"internal"},{"pos":373,"end":533,"kind":"text"}],"mapHash":"12756767772-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IAER,kBAAkB,IAAS;IAE3B,qBAAqB,IAAS;IAE9B,YAAY,IAAS;IAErB,qBAAqB,IAAS;IAC9B,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;IAEvB,iBAAiB,MAAS;IAE1B,sBAAsB,MAAmC;IAEzD,mBAAmB,OAAiF;CACvG;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AE9BD,iBAAS,CAAC,WAET\"}","hash":"-5295570803-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1560,11 +1566,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-78369044808-enum TokenFlags {\n None = 0,\n /* @internal */\n PrecedingLineBreak = 1 << 0,\n /* @internal */\n PrecedingJSDocComment = 1 << 1,\n /* @internal */\n Unterminated = 1 << 2,\n /* @internal */\n ExtendedUnicodeEscape = 1 << 3,\n Scientific = 1 << 4,\n Octal = 1 << 5,\n HexSpecifier = 1 << 6,\n BinarySpecifier = 1 << 7,\n OctalSpecifier = 1 << 8,\n /* @internal */\n ContainsSeparator = 1 << 9,\n /* @internal */\n BinaryOrOctalSpecifier = BinarySpecifier | OctalSpecifier,\n /* @internal */\n NumericLiteralFlags = Scientific | Octal | HexSpecifier | BinaryOrOctalSpecifier | ContainsSeparator\n}\ninterface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1573,13 +1581,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 5390 + "size": 5930 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2712,7 +2724,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":1131,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":1131,"kind":"text"}]},{"pos":1131,"end":1416,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":1131,"end":1416,"kind":"text"}]},{"pos":1416,"end":1452,"kind":"text"}],"mapHash":"82804019774-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,IAAK,UAqBJ;AArBD,WAAK,UAAU;IACX,2CAAQ,CAAA;IAER,uEAA2B,CAAA;IAE3B,6EAA8B,CAAA;IAE9B,2DAAqB,CAAA;IAErB,6EAA8B,CAAA;IAC9B,wDAAmB,CAAA;IACnB,8CAAc,CAAA;IACd,4DAAqB,CAAA;IACrB,mEAAwB,CAAA;IACxB,iEAAuB,CAAA;IAEvB,uEAA0B,CAAA;IAE1B,iFAAyD,CAAA;IAEzD,4EAAoG,CAAA;AACxG,CAAC,EArBI,UAAU,KAAV,UAAU,QAqBd;AAKD,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AChCf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"32101799743-var TokenFlags;\r\n(function (TokenFlags) {\r\n TokenFlags[TokenFlags[\"None\"] = 0] = \"None\";\r\n TokenFlags[TokenFlags[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\r\n TokenFlags[TokenFlags[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\r\n TokenFlags[TokenFlags[\"Unterminated\"] = 4] = \"Unterminated\";\r\n TokenFlags[TokenFlags[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\r\n TokenFlags[TokenFlags[\"Scientific\"] = 16] = \"Scientific\";\r\n TokenFlags[TokenFlags[\"Octal\"] = 32] = \"Octal\";\r\n TokenFlags[TokenFlags[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\r\n TokenFlags[TokenFlags[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\r\n TokenFlags[TokenFlags[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\r\n TokenFlags[TokenFlags[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\r\n TokenFlags[TokenFlags[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\r\n TokenFlags[TokenFlags[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\r\n})(TokenFlags || (TokenFlags = {}));\r\nvar s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":320,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":320,"kind":"text"}]},{"pos":320,"end":420,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":320,"end":420,"kind":"text"}]},{"pos":420,"end":439,"kind":"text"}],"mapHash":"22013376427-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,aAAK,UAAU;IACX,IAAI,IAAI;IASR,UAAU,KAAS;IACnB,KAAK,KAAS;IACd,YAAY,KAAS;IACrB,eAAe,MAAS;IACxB,cAAc,MAAS;CAO1B;AACD,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AC9BD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-39106923765-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2895,9 +2907,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "8051664902-declare enum TokenFlags {\r\n None = 0,\r\n PrecedingLineBreak = 1,\r\n PrecedingJSDocComment = 2,\r\n Unterminated = 4,\r\n ExtendedUnicodeEscape = 8,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n ContainsSeparator = 512,\r\n BinaryOrOctalSpecifier = 384,\r\n NumericLiteralFlags = 1008\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2905,12 +2923,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-41732646255-declare enum TokenFlags {\r\n None = 0,\r\n Scientific = 16,\r\n Octal = 32,\r\n HexSpecifier = 64,\r\n BinarySpecifier = 128,\r\n OctalSpecifier = 256,\r\n}\r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5549 + "size": 6907 } 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 1d0e96c77aa4c..ac8609a5e1df4 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 @@ -2771,7 +2771,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"text"}],"mapHash":"-31829622207-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"144238636645-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3078,10 +3078,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -3090,13 +3094,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12329 + "size": 13090 } //// [/src/first/bin/first-output.d.ts] @@ -3400,7 +3408,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3471,11 +3479,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3484,13 +3494,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2177 + "size": 2717 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5530,7 +5544,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5741,9 +5755,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5751,13 +5769,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8053 + "size": 10016 } @@ -8396,7 +8419,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"text"}],"mapHash":"44741038523-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-81921877035-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8703,10 +8726,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -8715,13 +8742,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12326 + "size": 13086 } //// [/src/first/bin/first-output.d.ts] @@ -9025,7 +9056,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9096,11 +9127,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -9109,13 +9142,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2175 + "size": 2715 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11155,7 +11192,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11366,9 +11403,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -11376,13 +11417,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8051 + "size": 10013 } @@ -13174,7 +13220,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"96265888669-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13482,10 +13528,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -13494,13 +13544,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12385 + "size": 13145 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -13691,7 +13745,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -13763,11 +13817,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -13776,13 +13832,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2246 + "size": 2786 } //// [/src/third/thirdjs/output/third-output.js] @@ -15565,7 +15625,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -15777,9 +15837,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -15787,13 +15851,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8110 + "size": 10072 } @@ -16673,7 +16742,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"-16943993016-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"text"}],"mapHash":"25332072687-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-22338327474-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":233,"kind":"text"},{"pos":233,"end":338,"kind":"internal"},{"pos":340,"end":372,"kind":"text"},{"pos":372,"end":764,"kind":"internal"},{"pos":766,"end":769,"kind":"text"},{"pos":769,"end":1174,"kind":"internal"},{"pos":1176,"end":1224,"kind":"text"}],"mapHash":"-16943993016-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-114771929067-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -16974,10 +17043,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -16986,13 +17059,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12347 + "size": 13107 } //// [/src/first/bin/first-output.d.ts.map] @@ -17303,7 +17380,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17368,11 +17445,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -17381,13 +17460,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2192 + "size": 2732 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -17714,7 +17797,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -17929,9 +18012,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-95739042438-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -17939,12 +18026,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8251 + "size": 10213 } 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 89c2141766308..3593b225cf952 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 @@ -183,7 +183,7 @@ sourceFile:../first_PART1.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts"],"fileInfos":["2890484261-/* @internal */ const A = 1;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-2963648387-declare const A = 1;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"text"}],"mapHash":"8137573854-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-14536113207-/* @internal */ var A = 1;\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":20,"kind":"internal"}],"mapHash":"1199471594-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\"],\"names\":[],\"mappings\":\"AAAgB,QAAA,MAAM,CAAC,IAAI,CAAC\"}","hash":"10602481092-declare const A = 1;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.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; };","2890484261-/* @internal */ const A = 1;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./first-output.js","skipDefaultLibCheck":true,"sourceMap":true},"outSignature":"-2963648387-declare const A = 1;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -232,9 +232,11 @@ declare const A = 1; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.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; };", "../first_part1.ts": "2890484261-/* @internal */ const A = 1;" }, "options": { @@ -242,13 +244,14 @@ declare const A = 1; "declaration": true, "declarationMap": true, "outFile": "./first-output.js", + "skipDefaultLibCheck": true, "sourceMap": true }, "outSignature": "-2963648387-declare const A = 1;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1094 + "size": 1586 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -328,7 +331,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["1943613816-const B = 2;"],"options":{"composite":true,"declaration":true,"declarationMap":false,"outFile":"./third-output.js","sourceMap":true},"outSignature":"1000124863-declare const B = 2;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":28,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":28,"kind":"text"}]},{"pos":28,"end":40,"kind":"text"}],"mapHash":"27220614446-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,eAAe,CAAC,IAAM,CAAC,GAAG,CAAC,CAAC;ACA5B,IAAM,CAAC,GAAG,CAAC,CAAC\"}","hash":"-10155812952-/* @internal */ var A = 1;\r\nvar B = 2;\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":0,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[]},{"pos":0,"end":22,"kind":"text"}],"hash":"1000124863-declare const B = 2;\r\n"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../third_part1.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; };","-2963648387-declare const A = 1;\r\n","1943613816-const B = 2;"],"options":{"composite":true,"declaration":true,"declarationMap":false,"outFile":"./third-output.js","sourceMap":true,"stripInternal":true},"outSignature":"1000124863-declare const B = 2;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -405,9 +408,13 @@ declare const B = 2; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-2963648387-declare const A = 1;\r\n", "../../third_part1.ts": "1943613816-const B = 2;" }, "options": { @@ -415,12 +422,13 @@ declare const B = 2; "declaration": true, "declarationMap": false, "outFile": "./third-output.js", - "sourceMap": true + "sourceMap": true, + "stripInternal": true }, "outSignature": "1000124863-declare const B = 2;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1152 + "size": 1719 } 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 df1d31aaf863e..ebb249148bb05 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 @@ -2851,7 +2851,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"text"}],"mapHash":"49450898210-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"35368666403-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3158,10 +3158,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -3170,13 +3174,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12871 + "size": 13633 } //// [/src/first/bin/first-output.d.ts] @@ -3480,7 +3488,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3551,11 +3559,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3564,13 +3574,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2177 + "size": 2718 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5710,7 +5724,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5921,9 +5935,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5931,13 +5949,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8597 + "size": 10561 } @@ -7807,7 +7830,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"13974556515-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8115,10 +8138,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -8127,13 +8154,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12930 + "size": 13692 } //// [/src/first/bin/first-output.d.ts.map] file written with same contents @@ -8324,7 +8355,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8396,11 +8427,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8409,13 +8442,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2250 + "size": 2791 } //// [/src/third/thirdjs/output/third-output.js] @@ -10298,7 +10335,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10510,9 +10547,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -10520,13 +10561,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8656 + "size": 10620 } @@ -11384,7 +11430,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.d.ts.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"55383497486-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"text"}],"mapHash":"4497977942-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part2.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-62899236580-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":234,"kind":"text"},{"pos":234,"end":339,"kind":"internal"},{"pos":341,"end":373,"kind":"text"},{"pos":373,"end":765,"kind":"internal"},{"pos":767,"end":770,"kind":"text"},{"pos":770,"end":1175,"kind":"internal"},{"pos":1177,"end":1225,"kind":"text"}],"mapHash":"55383497486-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first/first_PART1.ts\",\"../first/first_part3.ts\",\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-76652520731-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../first/bin/first-output.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11685,10 +11731,14 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../first/bin/first-output.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", + "../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -11697,13 +11747,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 12891 + "size": 13653 } //// [/src/first/bin/first-output.d.ts.map] @@ -12014,7 +12068,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12079,11 +12133,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -12092,13 +12148,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2739 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -12425,7 +12485,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":0,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":0,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -12640,9 +12700,13 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../2/second-output.d.ts": "-68578080182-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -12650,12 +12714,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8796 + "size": 10760 } 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 1fbb9a63ba056..0629a28023336 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 @@ -2581,7 +2581,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3417,"kind":"text"}],"mapHash":"-2464084269-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-136024231077-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2831,10 +2831,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -2843,13 +2845,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11658 + "size": 12196 } //// [/src/first/bin/first-output.d.ts] @@ -3153,7 +3159,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3224,11 +3230,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3237,13 +3245,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2177 + "size": 2718 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5383,7 +5395,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3527,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3527,"kind":"text"}]},{"pos":3527,"end":3563,"kind":"text"}],"mapHash":"139241117891-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"41938302000-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5630,9 +5642,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5640,13 +5658,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8857 + "size": 10874 } @@ -5877,7 +5900,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5949,11 +5972,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-8483255506-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5962,13 +5987,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2250 + "size": 2791 } //// [/src/third/thirdjs/output/third-output.js] @@ -7851,7 +7880,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8099,9 +8128,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -8109,13 +8144,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8916 + "size": 10933 } @@ -8466,7 +8506,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8531,11 +8571,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8544,13 +8586,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2739 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -8877,7 +8923,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":3544,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":3544,"kind":"text"}]},{"pos":3544,"end":3580,"kind":"text"}],"mapHash":"92086003575-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACI,aAAa,CAAC;IAAgB,CAAC;IAE/B,aAAa,CAAC,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;QAAnB,aAAa,MAAC,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;QACpC,aAAa,MAAC,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACb,aAAa,CAAC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAChC,aAAa,CAAC,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACtC,aAAa,CAAC,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IAClE,aAAa,CAAC,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IAChF,aAAa,CAAe,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAEzD,aAAa,CAAc,qBAAa,GAAG,EAAE,CAAC;IAC9C,aAAa,CAAC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACD,aAAa,CAAC;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAChC,aAAa,CAAC,SAAS,WAAW,KAAI,CAAC;AACvC,aAAa,CAAC,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACvE,aAAa,CAAC,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC7E,aAAa,CAAC,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAElE,aAAa,CAAC,IAAM,aAAa,GAAG,EAAE,CAAC;AACvC,aAAa,CAAC,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-58627043959-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = /** @class */ (function () {\r\n /*@internal*/ function normalC() {\r\n }\r\n /*@internal*/ normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n /*@internal*/ get: function () { return 10; },\r\n /*@internal*/ set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n /*@internal*/ var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n /*@internal*/ function foo() { }\r\n normalN.foo = foo;\r\n /*@internal*/ var someNamespace;\r\n (function (someNamespace) {\r\n var C = /** @class */ (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n /*@internal*/ var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n /*@internal*/ normalN.someImport = someNamespace.C;\r\n /*@internal*/ normalN.internalConst = 10;\r\n /*@internal*/ var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\n/*@internal*/ var internalC = /** @class */ (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\n/*@internal*/ function internalfoo() { }\r\n/*@internal*/ var internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\n/*@internal*/ var internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = /** @class */ (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\n/*@internal*/ var internalImport = internalNamespace.someClass;\r\n/*@internal*/ var internalConst = 10;\r\n/*@internal*/ var internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = /** @class */ (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":317,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":317,"kind":"text"}]},{"pos":317,"end":336,"kind":"text"}],"mapHash":"-6546370592-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-17624507241-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":false,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -9128,9 +9174,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -9138,12 +9190,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": false, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-3274754787-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 9056 + "size": 11073 } diff --git a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js index e0fbc318a5065..5a3d3acc15a88 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/stripInternal.js @@ -2501,7 +2501,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":3053,"kind":"text"}],"mapHash":"47594977138-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-8314017635-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":77,"kind":"text"},{"pos":77,"end":182,"kind":"internal"},{"pos":184,"end":216,"kind":"text"},{"pos":216,"end":608,"kind":"internal"},{"pos":610,"end":613,"kind":"text"},{"pos":613,"end":1018,"kind":"internal"},{"pos":1020,"end":1068,"kind":"text"}],"mapHash":"-11613291547-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;;IAEK,IAAI,EAAE,MAAM,CAAC;IACb,MAAM;IACN,IAAI,CAAC,IACM,MAAM,CADK;IACtB,IAAI,CAAC,CAAC,KAAK,MAAM,EAAK;CACvC;AACD,kBAAU,OAAO,CAAC;IACA,MAAa,CAAC;KAAI;IAClB,SAAgB,GAAG,SAAK;IACxB,UAAiB,aAAa,CAAC;QAAE,MAAa,CAAC;SAAG;KAAE;IACpD,UAAiB,SAAS,CAAC,SAAS,CAAC;QAAE,MAAa,SAAS;SAAG;KAAE;IAClE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAC3C,KAAY,YAAY,GAAG,SAAS,CAAC;IAC9B,MAAM,aAAa,KAAK,CAAC;IAChC,KAAY,YAAY;QAAG,CAAC,IAAA;QAAE,CAAC,IAAA;QAAE,CAAC,IAAA;KAAE;CACrD;AACa,cAAM,SAAS;CAAG;AAClB,iBAAS,WAAW,SAAK;AACzB,kBAAU,iBAAiB,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AACzD,kBAAU,aAAa,CAAC,SAAS,CAAC;IAAE,MAAa,SAAS;KAAG;CAAE;AAC/D,OAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AACpD,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,QAAA,MAAM,aAAa,KAAK,CAAC;AACzB,aAAK,YAAY;IAAG,CAAC,IAAA;IAAE,CAAC,IAAA;IAAE,CAAC,IAAA;CAAE;ACpC3C,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"11189477579-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2751,10 +2751,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "13528403307-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n\nclass normalC {\n /*@internal*/ constructor() { }\n /*@internal*/ prop: string;\n /*@internal*/ method() { }\n /*@internal*/ get c() { return 10; }\n /*@internal*/ set c(val: number) { }\n}\nnamespace normalN {\n /*@internal*/ export class C { }\n /*@internal*/ export function foo() {}\n /*@internal*/ export namespace someNamespace { export class C {} }\n /*@internal*/ export namespace someOther.something { export class someClass {} }\n /*@internal*/ export import someImport = someNamespace.C;\n /*@internal*/ export type internalType = internalC;\n /*@internal*/ export const internalConst = 10;\n /*@internal*/ export enum internalEnum { a, b, c }\n}\n/*@internal*/ class internalC {}\n/*@internal*/ function internalfoo() {}\n/*@internal*/ namespace internalNamespace { export class someClass {} }\n/*@internal*/ namespace internalOther.something { export class someClass {} }\n/*@internal*/ import internalImport = internalNamespace.someClass;\n/*@internal*/ type internalType = internalC;\n/*@internal*/ const internalConst = 10;\n/*@internal*/ enum internalEnum { a, b, c }", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -2763,13 +2765,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 11112 + "size": 11649 } //// [/src/first/bin/first-output.d.ts] @@ -3073,7 +3079,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":157,"kind":"text"}],"mapHash":"36580418620-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3144,11 +3150,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-7635519924-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -3157,13 +3165,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2177 + "size": 2717 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -5203,7 +5215,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":3163,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":3163,"kind":"text"}]},{"pos":3163,"end":3199,"kind":"text"}],"mapHash":"-8086338046-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"154908145202-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":116,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":116,"kind":"text"}]},{"pos":116,"end":276,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":116,"end":276,"kind":"text"}]},{"pos":276,"end":295,"kind":"text"}],"mapHash":"16014976674-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"12393711795-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5450,9 +5462,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5460,13 +5478,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "20880580153-declare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8313 + "size": 10329 } @@ -5829,7 +5852,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"text"}],"mapHash":"-23743024037-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-17751605528-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5900,11 +5923,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-12716948804-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -5913,13 +5938,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2175 + "size": 2715 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -7959,7 +7988,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":109,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":109,"kind":"text"}]},{"pos":109,"end":3162,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":109,"end":3162,"kind":"text"}]},{"pos":3162,"end":3198,"kind":"text"}],"mapHash":"175025764412-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-77350621790-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8206,9 +8235,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -8216,13 +8251,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8311 + "size": 10326 } @@ -8475,7 +8515,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":39,"kind":"internal"},{"pos":41,"end":156,"kind":"text"}],"mapHash":"26096235382-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAc,UAAU,QAAQ;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -8547,11 +8587,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-9838630498-/*@internal*/ interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -8560,13 +8602,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2246 + "size": 2786 } //// [/src/third/thirdjs/output/third-output.js] @@ -10349,7 +10395,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":115,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":115,"kind":"text"}]},{"pos":115,"end":275,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":115,"end":275,"kind":"text"}]},{"pos":275,"end":294,"kind":"text"}],"mapHash":"-7558054436-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-3056724381-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -10597,9 +10643,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -10607,13 +10659,18 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "16720646121-declare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8370 + "size": 10385 } @@ -10986,7 +11043,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"text"}],"mapHash":"-32659542769-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"8404444065-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"text"}],"mapHash":"31357838721-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-15939443882-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11051,11 +11108,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -11064,13 +11123,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2192 + "size": 2732 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -11397,7 +11460,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.d.ts.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":126,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":126,"kind":"text"}]},{"pos":126,"end":3179,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":126,"end":3179,"kind":"text"}]},{"pos":3179,"end":3215,"kind":"text"}],"mapHash":"-121698117904-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED;IACkB;IAAgB,CAAC;IAEjB,wBAAM,GAAN,cAAW,CAAC;IACZ,sBAAI,sBAAC;aAAL,cAAU,OAAO,EAAE,CAAC,CAAC,CAAC;aACtB,UAAM,GAAW,IAAI,CAAC;;;OADA;IAExC,cAAC;AAAD,CAAC,AAND,IAMC;AACD,IAAU,OAAO,CAShB;AATD,WAAU,OAAO;IACC;QAAA;QAAiB,CAAC;QAAD,QAAC;IAAD,CAAC,AAAlB,IAAkB;IAAL,SAAC,IAAI,CAAA;IAClB,SAAgB,GAAG,KAAI,CAAC;IAAR,WAAG,MAAK,CAAA;IACxB,IAAiB,aAAa,CAAsB;IAApD,WAAiB,aAAa;QAAG;YAAA;YAAgB,CAAC;YAAD,QAAC;QAAD,CAAC,AAAjB,IAAiB;QAAJ,eAAC,IAAG,CAAA;IAAC,CAAC,EAAnC,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAsB;IACpD,IAAiB,SAAS,CAAwC;IAAlE,WAAiB,SAAS;QAAC,IAAA,SAAS,CAA8B;QAAvC,WAAA,SAAS;YAAG;gBAAA;gBAAwB,CAAC;gBAAD,gBAAC;YAAD,CAAC,AAAzB,IAAyB;YAAZ,mBAAS,YAAG,CAAA;QAAC,CAAC,EAAvC,SAAS,GAAT,mBAAS,KAAT,mBAAS,QAA8B;IAAD,CAAC,EAAjD,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAAwC;IACpD,kBAAU,GAAG,aAAa,CAAC,CAAC,CAAC;IAE9B,qBAAa,GAAG,EAAE,CAAC;IAChC,IAAY,YAAwB;IAApC,WAAY,YAAY;QAAG,yCAAC,CAAA;QAAE,yCAAC,CAAA;QAAE,yCAAC,CAAA;IAAC,CAAC,EAAxB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAY;AACtD,CAAC,EATS,OAAO,KAAP,OAAO,QAShB;AACa;IAAA;IAAiB,CAAC;IAAD,gBAAC;AAAD,CAAC,AAAlB,IAAkB;AAClB,SAAS,WAAW,KAAI,CAAC;AACzB,IAAU,iBAAiB,CAA8B;AAAzD,WAAU,iBAAiB;IAAG;QAAA;QAAwB,CAAC;QAAD,gBAAC;IAAD,CAAC,AAAzB,IAAyB;IAAZ,2BAAS,YAAG,CAAA;AAAC,CAAC,EAA/C,iBAAiB,KAAjB,iBAAiB,QAA8B;AACzD,IAAU,aAAa,CAAwC;AAA/D,WAAU,aAAa;IAAC,IAAA,SAAS,CAA8B;IAAvC,WAAA,SAAS;QAAG;YAAA;YAAwB,CAAC;YAAD,gBAAC;QAAD,CAAC,AAAzB,IAAyB;QAAZ,mBAAS,YAAG,CAAA;IAAC,CAAC,EAAvC,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAA8B;AAAD,CAAC,EAArD,aAAa,KAAb,aAAa,QAAwC;AAC/D,IAAO,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC;AAEpD,IAAM,aAAa,GAAG,EAAE,CAAC;AACzB,IAAK,YAAwB;AAA7B,WAAK,YAAY;IAAG,yCAAC,CAAA;IAAE,yCAAC,CAAA;IAAE,yCAAC,CAAA;AAAC,CAAC,EAAxB,YAAY,KAAZ,YAAY,QAAY;ACpC3C;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"12439878523-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar normalC = (function () {\r\n function normalC() {\r\n }\r\n normalC.prototype.method = function () { };\r\n Object.defineProperty(normalC.prototype, \"c\", {\r\n get: function () { return 10; },\r\n set: function (val) { },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return normalC;\r\n}());\r\nvar normalN;\r\n(function (normalN) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n normalN.C = C;\r\n function foo() { }\r\n normalN.foo = foo;\r\n var someNamespace;\r\n (function (someNamespace) {\r\n var C = (function () {\r\n function C() {\r\n }\r\n return C;\r\n }());\r\n someNamespace.C = C;\r\n })(someNamespace = normalN.someNamespace || (normalN.someNamespace = {}));\r\n var someOther;\r\n (function (someOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = someOther.something || (someOther.something = {}));\r\n })(someOther = normalN.someOther || (normalN.someOther = {}));\r\n normalN.someImport = someNamespace.C;\r\n normalN.internalConst = 10;\r\n var internalEnum;\r\n (function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n })(internalEnum = normalN.internalEnum || (normalN.internalEnum = {}));\r\n})(normalN || (normalN = {}));\r\nvar internalC = (function () {\r\n function internalC() {\r\n }\r\n return internalC;\r\n}());\r\nfunction internalfoo() { }\r\nvar internalNamespace;\r\n(function (internalNamespace) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n internalNamespace.someClass = someClass;\r\n})(internalNamespace || (internalNamespace = {}));\r\nvar internalOther;\r\n(function (internalOther) {\r\n var something;\r\n (function (something) {\r\n var someClass = (function () {\r\n function someClass() {\r\n }\r\n return someClass;\r\n }());\r\n something.someClass = someClass;\r\n })(something = internalOther.something || (internalOther.something = {}));\r\n})(internalOther || (internalOther = {}));\r\nvar internalImport = internalNamespace.someClass;\r\nvar internalConst = 10;\r\nvar internalEnum;\r\n(function (internalEnum) {\r\n internalEnum[internalEnum[\"a\"] = 0] = \"a\";\r\n internalEnum[internalEnum[\"b\"] = 1] = \"b\";\r\n internalEnum[internalEnum[\"c\"] = 2] = \"c\";\r\n})(internalEnum || (internalEnum = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":156,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":156,"kind":"text"}]},{"pos":156,"end":316,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":156,"end":316,"kind":"text"}]},{"pos":316,"end":335,"kind":"text"}],"mapHash":"12830271258-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;AAED,cAAM,OAAO;CAMZ;AACD,kBAAU,OAAO,CAAC;CASjB;AC5BD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-24269849145-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"stripInternal":true,"target":1},"outSignature":"-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -11648,9 +11711,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-11343140977-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "2446199792-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n constructor();\r\n prop: string;\r\n method(): void;\r\n get c(): number;\r\n set c(val: number);\r\n}\r\ndeclare namespace normalN {\r\n class C {\r\n }\r\n function foo(): void;\r\n namespace someNamespace {\r\n class C {\r\n }\r\n }\r\n namespace someOther.something {\r\n class someClass {\r\n }\r\n }\r\n export import someImport = someNamespace.C;\r\n type internalType = internalC;\r\n const internalConst = 10;\r\n enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n }\r\n}\r\ndeclare class internalC {\r\n}\r\ndeclare function internalfoo(): void;\r\ndeclare namespace internalNamespace {\r\n class someClass {\r\n }\r\n}\r\ndeclare namespace internalOther.something {\r\n class someClass {\r\n }\r\n}\r\nimport internalImport = internalNamespace.someClass;\r\ntype internalType = internalC;\r\ndeclare const internalConst = 10;\r\ndeclare enum internalEnum {\r\n a = 0,\r\n b = 1,\r\n c = 2\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -11658,12 +11727,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "stripInternal": true, + "target": 1 }, "outSignature": "-15507760563-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class normalC {\r\n}\r\ndeclare namespace normalN {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 8511 + "size": 10526 } 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 3077007c633fc..615da17e5e9bc 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 @@ -629,7 +629,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/tripleref.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-742713438-declare class secondsecond_part1 { }","-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -711,27 +711,33 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../second/tripleref.d.ts", "../second/second_part1.ts", - "../second/second_part2.ts", - "../second/tripleref.d.ts" + "../second/second_part2.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; };", + "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", "../second/second_part1.ts": "-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", - "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", - "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }" + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, "options": { "composite": true, "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2844 + "size": 3381 } //// [/src/first/bin/first-output.d.ts] @@ -1092,7 +1098,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"text"}],"mapHash":"-46474879684-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"28384366618-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":252,"kind":"text"}],"mapHash":"28011477375-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"17759686593-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../tripleref.d.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-2651673797-declare class firstfirst_part2 { }","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1167,12 +1173,16 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", + "../tripleref.d.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" }, @@ -1180,13 +1190,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2615 + "size": 3224 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -2091,7 +2105,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":158,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":158,"kind":"text"}]},{"pos":158,"end":494,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":158,"end":494,"kind":"text"}]},{"pos":494,"end":578,"kind":"text"}],"mapHash":"44476692060-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-22392504284-var s = \"Hello, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":368,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":368,"kind":"text"}]},{"pos":368,"end":522,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":368,"end":522,"kind":"text"}]},{"pos":522,"end":592,"kind":"text"}],"mapHash":"-21355679145-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-31944901056-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/tripleref.d.ts","../../../first/bin/first-output.d.ts","../../../second/tripleref.d.ts","../../../2/second-output.d.ts","../../tripleref.d.ts","../../third_part1.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; };","-2651673797-declare class firstfirst_part2 { }","27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","-742713438-declare class secondsecond_part1 { }","-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","2278097536-declare class thirdthird_part1 { }","-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2283,9 +2297,21 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/tripleref.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../second/tripleref.d.ts", + "../../../2/second-output.d.ts", + "../../tripleref.d.ts", "../../third_part1.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; };", + "../../../first/tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", + "../../../first/bin/first-output.d.ts": "27529827898-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "../../../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", + "../../../2/second-output.d.ts": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "../../tripleref.d.ts": "2278097536-declare class thirdthird_part1 { }", "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2293,13 +2319,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-22286623866-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5088 + "size": 6468 } @@ -2722,7 +2752,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"-19929709898-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-7594042998-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../tripleref.d.ts","../first_part2.ts","../first_part3.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; };","-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","-2651673797-declare class firstfirst_part2 { }","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2797,12 +2827,16 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", + "../tripleref.d.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-2594963283-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", + "../tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" }, @@ -2810,13 +2844,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2608 + "size": 3217 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -3721,7 +3759,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":493,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":157,"end":493,"kind":"text"}]},{"pos":493,"end":577,"kind":"text"}],"mapHash":"-20483685162-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACTf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-53700165228-var s = \"Hola, world\";\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/tripleref.d.ts","../../../first/bin/first-output.d.ts","../../../second/tripleref.d.ts","../../../2/second-output.d.ts","../../tripleref.d.ts","../../third_part1.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; };","-2651673797-declare class firstfirst_part2 { }","6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","-742713438-declare class secondsecond_part1 { }","-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","2278097536-declare class thirdthird_part1 { }","-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3913,9 +3951,21 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/tripleref.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../second/tripleref.d.ts", + "../../../2/second-output.d.ts", + "../../tripleref.d.ts", "../../third_part1.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; };", + "../../../first/tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", + "../../../first/bin/first-output.d.ts": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "../../../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", + "../../../2/second-output.d.ts": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "../../tripleref.d.ts": "2278097536-declare class thirdthird_part1 { }", "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3923,13 +3973,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5081 + "size": 6459 } @@ -4212,7 +4266,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"text"}],"mapHash":"-10985091094-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"9600939075-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":42,"kind":"reference","data":"../tripleRef.d.ts"},{"pos":44,"end":251,"kind":"text"}],"mapHash":"5325987449-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET\"}","hash":"25983932369-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../tripleref.d.ts","../first_part2.ts","../first_part3.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; };","3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","-2651673797-declare class firstfirst_part2 { }","1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -4288,12 +4342,16 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", + "../tripleref.d.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "3570577263-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hola, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", + "../tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", "../first_part2.ts": "1679819683-///\nconst first_part2Const = new firstfirst_part2();\nconsole.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" }, @@ -4301,13 +4359,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2680 + "size": 3289 } //// [/src/third/thirdjs/output/third-output.js] @@ -4898,7 +4960,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":174,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":174,"kind":"text"}]},{"pos":174,"end":510,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":174,"end":510,"kind":"text"}]},{"pos":510,"end":594,"kind":"text"}],"mapHash":"-35476945910-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACFjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACHD,IAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAChD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-26734091059-var s = \"Hola, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nvar first_part2Const = new firstfirst_part2();\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar third_part1Const = new thirdthird_part1();\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":45,"kind":"reference","data":"../../tripleRef.d.ts"},{"pos":47,"end":101,"kind":"reference","data":"../../../first/tripleRef.d.ts"},{"pos":103,"end":158,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":160,"end":367,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":160,"end":367,"kind":"text"}]},{"pos":367,"end":521,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":367,"end":521,"kind":"text"}]},{"pos":521,"end":591,"kind":"text"}],"mapHash":"7646357201-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";;;AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACPD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;ACDhD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACHD,QAAA,MAAM,gBAAgB,kBAAyB,CAAC;AAChD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"9613787376-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/tripleref.d.ts","../../../first/bin/first-output.d.ts","../../../second/tripleref.d.ts","../../../2/second-output.d.ts","../../tripleref.d.ts","../../third_part1.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; };","-2651673797-declare class firstfirst_part2 { }","6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n","-742713438-declare class secondsecond_part1 { }","-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","2278097536-declare class thirdthird_part1 { }","-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -5091,9 +5153,21 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/tripleref.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../second/tripleref.d.ts", + "../../../2/second-output.d.ts", + "../../tripleref.d.ts", "../../third_part1.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; };", + "../../../first/tripleref.d.ts": "-2651673797-declare class firstfirst_part2 { }", + "../../../first/bin/first-output.d.ts": "6858951242-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\n", + "../../../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", + "../../../2/second-output.d.ts": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", + "../../tripleref.d.ts": "2278097536-declare class thirdthird_part1 { }", "../../third_part1.ts": "-6970567573-///\nconst third_part1Const = new thirdthird_part1();\nvar c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -5101,12 +5175,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "15835693622-/// \r\n/// \r\n/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hola, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare const first_part2Const: firstfirst_part2;\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare const third_part1Const: thirdthird_part1;\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 5140 + "size": 6518 } 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 81e176fec5256..c8958c2c7a7df 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 @@ -596,7 +596,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts","../second/tripleref.d.ts"],"fileInfos":["-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n","-742713438-declare class secondsecond_part1 { }"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":336,"kind":"text"}],"mapHash":"6635165462-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AACA,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"22409784724-var second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":49,"kind":"reference","data":"../second/tripleRef.d.ts"},{"pos":51,"end":205,"kind":"text"}],"mapHash":"-3800548159-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\";AACA,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7138999361-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/tripleref.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-742713438-declare class secondsecond_part1 { }","-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -678,27 +678,33 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", + "../second/tripleref.d.ts", "../second/second_part1.ts", - "../second/second_part2.ts", - "../second/tripleref.d.ts" + "../second/second_part2.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; };", + "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", "../second/second_part1.ts": "-823890693-///\nconst second_part1Const = new secondsecond_part1();\nnamespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", - "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n", - "../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }" + "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, "options": { "composite": true, "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2844 + "size": 3381 } //// [/src/first/bin/first-output.d.ts] @@ -1002,7 +1008,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1066,11 +1072,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1079,13 +1087,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1879,7 +1891,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":446,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":446,"kind":"text"}]},{"pos":446,"end":482,"kind":"text"}],"mapHash":"-13380196693-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"-17051659575-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../second/tripleref.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-742713438-declare class secondsecond_part1 { }","-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2049,9 +2061,17 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../second/tripleref.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", + "../../../2/second-output.d.ts": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -2059,13 +2079,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4113 + "size": 5241 } @@ -2296,7 +2320,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2361,11 +2385,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2374,13 +2400,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.js] @@ -2913,7 +2943,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":463,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":463,"kind":"text"}]},{"pos":463,"end":499,"kind":"text"}],"mapHash":"29274327775-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACDD,IAAM,iBAAiB,GAAG,IAAI,kBAAkB,EAAE,CAAC;AAKnD,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACZD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"45460290562-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar second_part1Const = new secondsecond_part1();\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":55,"kind":"reference","data":"../../../second/tripleRef.d.ts"},{"pos":57,"end":214,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":57,"end":214,"kind":"text"}]},{"pos":214,"end":368,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":214,"end":368,"kind":"text"}]},{"pos":368,"end":387,"kind":"text"}],"mapHash":"-6747558023-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\";AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACDD,QAAA,MAAM,iBAAiB,oBAA2B,CAAC;AACnD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACZD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-73127873189-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../second/tripleref.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","-742713438-declare class secondsecond_part1 { }","-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -3084,9 +3114,17 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../second/tripleref.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../second/tripleref.d.ts": "-742713438-declare class secondsecond_part1 { }", + "../../../2/second-output.d.ts": "-1874117338-/// \r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -3094,12 +3132,16 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-67627878175-/// \r\ninterface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare const second_part1Const: secondsecond_part1;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 4170 + "size": 5298 } 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 47d48cb122374..9ab9006d05b17 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 @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -608,10 +608,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -620,13 +622,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -930,7 +936,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -994,11 +1000,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1007,13 +1015,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1752,7 +1764,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1911,19 +1923,29 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 } }, "version": "FakeTSVersion", - "size": 3261 + "size": 4194 } 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 6fcc596a6d42f..22ad4e5885008 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 @@ -537,7 +537,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -608,10 +608,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -620,13 +622,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -930,7 +936,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -994,11 +1000,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1007,13 +1015,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1979,7 +1991,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2044,11 +2056,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2057,13 +2071,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents 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 bc1e2fa47348d..93cfbe26bc4b4 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 @@ -538,7 +538,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -609,10 +609,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -621,13 +623,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -931,7 +937,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -995,11 +1001,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1008,13 +1016,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1753,7 +1765,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]},{"pos":395,"end":431,"kind":"text"}],"mapHash":"59293632534-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC;ACJD,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC\"}","hash":"20832180013-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\nvar c = new C();\r\nc.doSomething();\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]},{"pos":257,"end":276,"kind":"text"}],"mapHash":"-10250552873-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd;ACJD,QAAA,IAAI,CAAC,GAAU,CAAC\"}","hash":"-16365524283-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","10470273651-var c = new C();\r\nc.doSomething();\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.baseline.txt] ====================================================================== @@ -1912,9 +1924,15 @@ declare var c: C; }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "10470273651-var c = new C();\r\nc.doSomething();\r\n" }, "options": { @@ -1922,13 +1940,17 @@ declare var c: C; "declaration": true, "declarationMap": true, "outFile": "./third-output.js", + "removeComments": true, + "skipDefaultLibCheck": true, "sourceMap": true, + "strict": false, + "target": 1, "tsBuildInfoFile": "./third.tsbuildinfo" }, "outSignature": "-6891480629-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\ndeclare var c: C;\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3703 + "size": 4636 } 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 f7b77f20144a5..22d2ae9ac28c0 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 @@ -535,7 +535,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","sourceMap":true},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../second","sourceFiles":["../second/second_part1.ts","../second/second_part2.ts"],"js":{"sections":[{"pos":0,"end":285,"kind":"text"}],"mapHash":"9890117190-{\"version\":3,\"file\":\"second-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-23059753096-var N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=second-output.js.map"},"dts":{"sections":[{"pos":0,"end":100,"kind":"text"}],"mapHash":"7640041563-{\"version\":3,\"file\":\"second-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../second/second_part1.ts\",\"../second/second_part2.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"7752788385-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=second-output.d.ts.map"}},"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.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; };","-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n","9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -606,10 +606,12 @@ declare class C { }, "program": { "fileNames": [ + "../../lib/lib.d.ts", "../second/second_part1.ts", "../second/second_part2.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; };", "../second/second_part1.ts": "-21603042336-namespace N {\r\n // Comment text\r\n}\r\n\r\nnamespace N {\r\n function f() {\r\n console.log('testing');\r\n }\r\n\r\n f();\r\n}\r\n", "../second/second_part2.ts": "9339262372-class C {\r\n doSomething() {\r\n console.log(\"something got done\");\r\n }\r\n}\r\n" }, @@ -618,13 +620,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./second-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 2243 + "size": 2780 } //// [/src/first/bin/first-output.d.ts] @@ -928,7 +934,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"text"}],"mapHash":"-22423542495-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"-3712641672-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -992,11 +998,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-17207381411-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\n", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -1005,13 +1013,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2125 + "size": 2665 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1669,7 +1681,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":110,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":110,"kind":"text"}]},{"pos":110,"end":395,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":110,"end":395,"kind":"text"}]}],"mapHash":"44742745535-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"12056597951-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -1809,9 +1821,15 @@ declare class C { }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "5381-" }, "options": { @@ -1819,13 +1837,17 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3361 + "size": 4294 } @@ -2056,7 +2078,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","sourceMap":true},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"..","sourceFiles":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"text"}],"mapHash":"-2702861355-{\"version\":3,\"file\":\"first-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC\"}","hash":"18946534449-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\n//# sourceMappingURL=first-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"text"}],"mapHash":"28957120071-{\"version\":3,\"file\":\"first-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../first_PART1.ts\",\"../first_part2.ts\",\"../first_part3.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET\"}","hash":"-23350520794-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n//# sourceMappingURL=first-output.d.ts.map"}},"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.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; };","-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);","4973778178-console.log(f());\r\n","6202806249-function f() {\r\n return \"JS does hoists\";\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2121,11 +2143,13 @@ declare function f(): string; }, "program": { "fileNames": [ + "../../../lib/lib.d.ts", "../first_part1.ts", "../first_part2.ts", "../first_part3.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; };", "../first_part1.ts": "-16950965473-interface TheFirst {\r\n none: any;\r\n}\r\n\r\nconst s = \"Hello, world\";\r\n\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\n\r\nconsole.log(s);\r\nconsole.log(s);", "../first_part2.ts": "4973778178-console.log(f());\r\n", "../first_part3.ts": "6202806249-function f() {\r\n return \"JS does hoists\";\r\n}" @@ -2134,13 +2158,17 @@ declare function f(): string; "composite": true, "declarationMap": true, "outFile": "./first-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 2198 + "size": 2738 } //// [/src/third/thirdjs/output/third-output.js] @@ -2589,7 +2617,7 @@ sourceFile:../../../second/second_part2.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../third_part1.ts"],"fileInfos":["5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","sourceMap":true},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../..","sourceFiles":["../../third_part1.ts"],"js":{"sections":[{"pos":0,"end":127,"kind":"prepend","data":"../../../first/bin/first-output.js","texts":[{"pos":0,"end":127,"kind":"text"}]},{"pos":127,"end":412,"kind":"prepend","data":"../../../2/second-output.js","texts":[{"pos":127,"end":412,"kind":"text"}]}],"mapHash":"69061128179-{\"version\":3,\"file\":\"third-output.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part2.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC\"}","hash":"-20492008680-var s = \"Hello, world\";\r\nconsole.log(s);\r\nconsole.log(s);\r\nconsole.log(f());\r\nfunction f() {\r\n return \"JS does hoists\";\r\n}\r\nvar N;\r\n(function (N) {\r\n function f() {\r\n console.log('testing');\r\n }\r\n f();\r\n})(N || (N = {}));\r\nvar C = (function () {\r\n function C() {\r\n }\r\n C.prototype.doSomething = function () {\r\n console.log(\"something got done\");\r\n };\r\n return C;\r\n}());\r\n//# sourceMappingURL=third-output.js.map"},"dts":{"sections":[{"pos":0,"end":157,"kind":"prepend","data":"../../../first/bin/first-output.d.ts","texts":[{"pos":0,"end":157,"kind":"text"}]},{"pos":157,"end":257,"kind":"prepend","data":"../../../2/second-output.d.ts","texts":[{"pos":157,"end":257,"kind":"text"}]}],"mapHash":"-2868768104-{\"version\":3,\"file\":\"third-output.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../../first/first_PART1.ts\",\"../../../first/first_part3.ts\",\"../../../second/second_part1.ts\",\"../../../second/second_part2.ts\",\"../../third_part1.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd\"}","hash":"-18898330086-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n//# sourceMappingURL=third-output.d.ts.map"}},"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.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; };","-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n","7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","5381-"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.baseline.txt] ====================================================================== @@ -2730,9 +2758,15 @@ declare class C { }, "program": { "fileNames": [ + "../../../../lib/lib.d.ts", + "../../../first/bin/first-output.d.ts", + "../../../2/second-output.d.ts", "../../third_part1.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; };", + "../../../first/bin/first-output.d.ts": "-16746818465-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\n", + "../../../2/second-output.d.ts": "7003440774-declare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "../../third_part1.ts": "5381-" }, "options": { @@ -2740,12 +2774,16 @@ declare class C { "declaration": true, "declarationMap": true, "outFile": "./third-output.js", - "sourceMap": true + "removeComments": true, + "skipDefaultLibCheck": true, + "sourceMap": true, + "strict": false, + "target": 1 }, "outSignature": "-14086268192-interface TheFirst {\r\n none: any;\r\n}\r\ndeclare const s = \"Hello, world\";\r\ninterface NoJsForHereEither {\r\n none: any;\r\n}\r\ndeclare function f(): string;\r\ndeclare namespace N {\r\n}\r\ndeclare namespace N {\r\n}\r\ndeclare class C {\r\n doSomething(): void;\r\n}\r\n", "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 3421 + "size": 4354 } 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 446ae29c2869c..c66565a5bcda3 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 @@ -86,7 +86,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5450201652-function foo() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"text"}],"hash":"3762995390-function foo() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"text"}],"hash":"517738360-declare function foo(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","5450201652-function foo() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -118,9 +118,11 @@ declare function foo(): number; }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./index.ts": "5450201652-function foo() { return 10; }" }, "options": { @@ -132,7 +134,7 @@ declare function foo(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 574 + "size": 967 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -163,7 +165,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":30,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":30,"kind":"text"}]},{"pos":30,"end":69,"kind":"text"}],"hash":"9692417533-function foo() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":32,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":32,"kind":"text"}]},{"pos":32,"end":64,"kind":"text"}],"hash":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"9641219228-declare function foo(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -221,9 +223,13 @@ declare function bar(): number; }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "../core/index.d.ts": "517738360-declare function foo(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, "options": { @@ -235,7 +241,7 @@ declare function bar(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 904 + "size": 1364 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -324,7 +330,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"text"}],"hash":"-6033649947-function foo() { return 10; }\nfunction myFunc() { return 10; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -356,9 +362,11 @@ declare function myFunc(): number; }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./index.ts": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }" }, "options": { @@ -370,7 +378,7 @@ declare function myFunc(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 718 + "size": 1111 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -447,7 +455,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":63,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":63,"kind":"text"}]},{"pos":63,"end":102,"kind":"text"}],"hash":"-12608297404-function foo() { return 10; }\nfunction myFunc() { return 10; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -505,9 +513,13 @@ declare function bar(): number; }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "../core/index.d.ts": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, "options": { @@ -519,7 +531,7 @@ declare function bar(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1015 + "size": 1512 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] @@ -605,7 +617,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"text"}],"hash":"-5849092235-function foo() { return 10; }\nfunction myFunc() { return 100; }\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"text"}],"hash":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -637,9 +649,11 @@ function myFunc() { return 100; } }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./index.ts": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }" }, "options": { @@ -651,7 +665,7 @@ function myFunc() { return 100; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 720 + "size": 1113 } //// [/user/username/projects/sample1/core/index.tsbuildinfo.baseline.txt] @@ -710,7 +724,7 @@ function bar() { return foo() + 1; } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["./index.ts"],"fileInfos":["5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./index.ts"],"js":{"sections":[{"pos":0,"end":64,"kind":"prepend","data":"../core/index.js","texts":[{"pos":0,"end":64,"kind":"text"}]},{"pos":64,"end":103,"kind":"text"}],"hash":"-1300839212-function foo() { return 10; }\nfunction myFunc() { return 100; }\nfunction bar() { return foo() + 1; }\n;\n"},"dts":{"sections":[{"pos":0,"end":67,"kind":"prepend","data":"../core/index.d.ts","texts":[{"pos":0,"end":67,"kind":"text"}]},{"pos":67,"end":99,"kind":"text"}],"hash":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \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; }","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"-2581247747-declare function foo(): number;\ndeclare function myFunc(): number;\ndeclare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -768,9 +782,13 @@ function bar() { return foo() + 1; } }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", "./index.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "../core/index.d.ts": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, "options": { @@ -782,7 +800,7 @@ function bar() { return foo() + 1; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1015 + "size": 1512 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js index e28d13349187c..c5686f9c95509 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,12 +1,1095 @@ +2:: with declaration, emit Dts and should not emit js +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +3:: with declaration and declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section Incremental build contains the dts build section from before -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +6:: with declaration and declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 7:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section Incremental build contains the dts build section from before -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +11:: with declaration and declarationMap (should this reemit or not?) +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +12:: with declaration and declarationMap, should not re-emit +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + } + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js index 3c1e334cf99b1..761bd56c56835 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js @@ -79,7 +79,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -138,23 +138,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1437 + "size": 1907 } @@ -214,7 +217,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -241,24 +244,27 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js", "sourceMap": true } }, "version": "FakeTSVersion", - "size": 1888 + "size": 2358 } @@ -315,7 +321,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -341,23 +347,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1437 + "size": 1907 } @@ -399,42 +408,12 @@ declare module "d" { } -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -465,16 +444,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -488,12 +457,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -501,11 +472,12 @@ declare module "d" { }, "options": { "declaration": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1770 + "size": 1333 } @@ -550,9 +522,8 @@ declare module "d" { //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -565,16 +536,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -589,12 +550,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -603,11 +566,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2175 + "size": 1738 } @@ -634,86 +598,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== - -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion", - "size": 1437 -} - Change:: local change @@ -771,7 +655,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -830,23 +714,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1442 + "size": 1912 } @@ -875,42 +762,12 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -941,16 +798,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -965,12 +812,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -979,11 +828,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2180 + "size": 1739 } @@ -1010,15 +860,31 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) + +Change:: with inlineSourceMap +Input:: + + +Output:: +/lib/tsc --p /src/project --inlineSourceMap +exitCode:: ExitStatus.Success +Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] +Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: Not +Program files:: +/lib/lib.d.ts +/src/project/a.ts +/src/project/b.ts +/src/project/c.ts +/src/project/d.ts + +No cached semantic diagnostics in the builder:: + +No shapes updated in the builder:: + + +//// [/src/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; @@ -1045,76 +911,16 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 -====================================================================== - -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion", - "size": 1442 -} - - +//// [/src/outFile.tsbuildinfo] +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} -Change:: with inlineSourceMap -Input:: - - -Output:: -/lib/tsc --p /src/project --inlineSourceMap -exitCode:: ExitStatus.Success -Program root files: ["/src/project/a.ts","/src/project/b.ts","/src/project/c.ts","/src/project/d.ts"] -Program options: {"incremental":true,"outFile":"/src/outFile.js","module":2,"project":"/src/project","inlineSourceMap":true,"configFilePath":"/src/project/tsconfig.json"} -Program structureReused: Not -Program files:: -/lib/lib.d.ts -/src/project/a.ts -/src/project/b.ts -/src/project/c.ts -/src/project/d.ts - -No cached semantic diagnostics in the builder:: - -No shapes updated in the builder:: - - -//// [/src/outFile.js] +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; @@ -1141,12 +947,9 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { exports.d = void 0; exports.d = b_1.b; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"inlineSourceMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +====================================================================== -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -1170,12 +973,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1183,11 +988,12 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "inlineSourceMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1974 + "size": 2444 } @@ -1247,7 +1053,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1274,24 +1080,27 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js", "sourceMap": true } }, "version": "FakeTSVersion", - "size": 1890 + "size": 2360 } @@ -1348,7 +1157,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1374,23 +1183,26 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 1442 + "size": 1912 } @@ -1419,42 +1231,12 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -1485,16 +1267,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -1509,12 +1281,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1523,11 +1297,12 @@ declare module "d" { "options": { "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" } }, "version": "FakeTSVersion", - "size": 2180 + "size": 1739 } @@ -1554,9 +1329,3 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.d.ts] file written with same contents -//// [/src/outFile.d.ts.map] file written with same contents -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] file written with same contents -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js index 32a33a4466d8c..6140b848f38e1 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js @@ -1,14 +1,834 @@ 2:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +4:: with declaration and declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +5:: should re-emit only dts so they dont contain sourcemap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 6:: with emitDeclarationOnly should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only Clean build info does not have js section because its fresh build Incremental build info has js section from old build -*** Supplied discrepancy explanation but didnt file any difference +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "emitDeclarationOnly": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +7:: no-change-run +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -*** Supplied discrepancy explanation but didnt file any difference \ No newline at end of file +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "declaration": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts", + "./project/c.ts", + "./project/d.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 204, + "kind": "text" + } + ], + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" + } + }, + "program": { + "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; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" + }, + "options": { + "composite": true, + "module": 2, + "outFile": "./outFile.js" + }, + "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index ee64df3ddc361..98051226641d9 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -94,7 +94,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -181,12 +181,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -194,13 +196,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 2545 } @@ -260,7 +263,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"mapHash":"-9121204548-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"-1376850883-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -297,12 +300,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -310,6 +315,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js", "sourceMap": true }, @@ -317,7 +323,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2526 + "size": 2996 } @@ -374,7 +380,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -410,12 +416,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -423,13 +431,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 2545 } @@ -456,67 +465,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "./outFile.d.ts" - }, - "version": "FakeTSVersion", - "size": 2094 -} - Change:: no-change-run @@ -541,66 +489,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "./outFile.d.ts" - }, - "version": "FakeTSVersion", - "size": 2075 -} - Change:: with declaration and declarationMap @@ -643,11 +531,32 @@ declare module "d" { //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-204) +declare module "a" { + export const a = 10; +} +declare module "b" { + export const b = 10; +} +declare module "c" { + export const c = 10; +} +declare module "d" { + export const d = 10; +} + +====================================================================== -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -658,16 +567,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -682,12 +581,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -697,13 +598,14 @@ declare module "d" { "composite": true, "declaration": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2499 + "size": 2062 } @@ -745,9 +647,8 @@ declare module "d" { } -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -760,16 +661,6 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, "dts": { "sections": [ { @@ -783,12 +674,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -796,13 +689,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2075 + "size": 1638 } @@ -829,75 +723,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"emitDeclarationOnly":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== - -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "./outFile.d.ts" - }, - "version": "FakeTSVersion", - "size": 1195 -} - Change:: no-change-run @@ -922,117 +747,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== - -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "./outFile.d.ts" - }, - "version": "FakeTSVersion", - "size": 2075 -} - Change:: local change @@ -1090,7 +804,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -1177,12 +891,14 @@ declare module "d" { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1190,13 +906,14 @@ declare module "d" { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2080 + "size": 2550 } @@ -1223,67 +940,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.js] file written with same contents -//// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents -//// [/src/outFile.tsbuildinfo.readable.baseline.txt] -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "fileNames": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "fileInfos": { - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "./outFile.d.ts" - }, - "version": "FakeTSVersion", - "size": 2099 -} - Change:: with inlineSourceMap @@ -1338,7 +994,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"8055194958-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1374,12 +1030,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1388,13 +1046,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "options": { "composite": true, "inlineSourceMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2612 + "size": 3082 } @@ -1454,7 +1113,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1491,12 +1150,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1504,6 +1165,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "options": { "composite": true, + "module": 2, "outFile": "./outFile.js", "sourceMap": true }, @@ -1511,7 +1173,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2528 + "size": 2998 } @@ -1587,7 +1249,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1624,12 +1286,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1638,13 +1302,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js" }, "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2485 + "size": 2955 } @@ -1703,7 +1368,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.js.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"mapHash":"-5541118281-{\"version\":3,\"file\":\"outFile.js\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC\"}","hash":"13909529709-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n//# sourceMappingURL=outFile.js.map"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -1741,12 +1406,14 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.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; };", "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", @@ -1755,6 +1422,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "options": { "composite": true, "declarationMap": true, + "module": 2, "outFile": "./outFile.js", "sourceMap": true }, @@ -1762,6 +1430,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2933 + "size": 3403 } diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js new file mode 100644 index 0000000000000..0dbf34412a5b5 --- /dev/null +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js @@ -0,0 +1,119 @@ +1:: fix error declarationMap +*** Needs explanation +TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts" + ], + "js": { + "sections": [ + { + "pos": 0, + "end": 26, + "kind": "text" + } + ], + "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" + }, + "dts": { + "sections": [ + { + "pos": 0, + "end": 46, + "kind": "text" + } + ], + "hash": "-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true, + "outFile": "./outFile.js" + }, + "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "bundle": { + "commonSourceDirectory": "./project", + "sourceFiles": [ + "./project/a.ts", + "./project/b.ts" + ], + "dts": { + "sections": [ + { + "pos": 0, + "end": 46, + "kind": "text" + } + ], + "hash": "-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map", + "mapHash": "12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}" + } + }, + "program": { + "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; };", + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" + }, + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "noEmitOnError": true, + "outFile": "./outFile.js" + }, + "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", + "latestChangedDtsFile": "FakeFileName" + }, + "version": "FakeTSVersion" +} +File: /src/outfile.tsbuildinfo.baseline.txt +CleanBuild: +====================================================================== +File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-26) +var x = 10; +var y = 10; + +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-46) +declare const x = 10; +declare const y = 10; + +====================================================================== +IncrementalBuild: +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-46) +declare const x = 10; +declare const y = 10; + +====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js index 295094183ca05..c32511bc9f6d0 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js @@ -41,7 +41,7 @@ var y = 10; //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"hash":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"hash":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.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; };","5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== @@ -92,23 +92,26 @@ declare const y = 10; }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.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; };", "./project/a.ts": "5029505981-const x = 10;", "./project/b.ts": "2026006654-const y = 10;" }, "options": { "composite": true, "declaration": true, + "noEmitOnError": true, "outFile": "./outFile.js" }, "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 676 + "size": 1156 } @@ -155,11 +158,22 @@ declare const y = 10; //// [/src/outFile.d.ts.map] {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} -//// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["./project/a.ts","./project/b.ts"],"fileInfos":["5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.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; };","5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} + +//// [/src/outFile.tsbuildinfo.baseline.txt] +====================================================================== +File:: /src/outFile.js +====================================================================== +====================================================================== +File:: /src/outFile.d.ts +---------------------------------------------------------------------- +text: (0-46) +declare const x = 10; +declare const y = 10; + +====================================================================== -//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -168,16 +182,6 @@ declare const y = 10; "./project/a.ts", "./project/b.ts" ], - "js": { - "sections": [ - { - "pos": 0, - "end": 26, - "kind": "text" - } - ], - "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" - }, "dts": { "sections": [ { @@ -192,10 +196,12 @@ declare const y = 10; }, "program": { "fileNames": [ + "../lib/lib.d.ts", "./project/a.ts", "./project/b.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; };", "./project/a.ts": "5029505981-const x = 10;", "./project/b.ts": "2026006654-const y = 10;" }, @@ -203,12 +209,13 @@ declare const y = 10; "composite": true, "declaration": true, "declarationMap": true, + "noEmitOnError": true, "outFile": "./outFile.js" }, "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 960 + "size": 1335 } diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 3b794480e011d..82cbae3a58710 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -62,7 +62,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \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; }","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -85,19 +85,22 @@ define("file2", ["require", "exports"], function (require, exports) { }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, "options": { + "module": 2, "outFile": "./out.js" } }, "version": "FakeTSVersion", - "size": 719 + "size": 1120 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index 079e79fe66044..4dfa56f8c9d52 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -79,7 +79,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":334,"kind":"text"}],"hash":"-12981833783-define(\"file1\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 20;\n});\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \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; }","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -102,19 +102,22 @@ define("file2", ["require", "exports"], function (require, exports) { }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, "options": { + "module": 2, "outFile": "./out.js" } }, "version": "FakeTSVersion", - "size": 719 + "size": 1120 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index 525c90a2feb35..76ce04628cfa0 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -52,7 +52,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \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; }","5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -75,10 +75,12 @@ var y = 20; }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -87,7 +89,7 @@ var y = 20; } }, "version": "FakeTSVersion", - "size": 363 + "size": 753 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 94d88dc199773..ca56155c8f424 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -69,7 +69,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["./file1.ts","./file2.ts"],"fileInfos":["5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file1.ts","./file2.ts"],"js":{"sections":[{"pos":0,"end":24,"kind":"text"}],"hash":"-5596233073-var x = 10;\nvar y = 20;\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \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; }","5029505981-const x = 10;","2026007743-const y = 20;"],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -92,10 +92,12 @@ var y = 20; }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -104,7 +106,7 @@ var y = 20; } }, "version": "FakeTSVersion", - "size": 363 + "size": 753 } //// [/users/username/projects/project/out.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js index 83a61af68b32c..ba33cfc46dbb0 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js @@ -136,7 +136,7 @@ declare module "b" { //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","pendingEmit":1},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":["-7698705165-/// \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; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","pendingEmit":1},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { @@ -159,15 +159,19 @@ declare module "b" { }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-13729955264-export const y = 10;" }, "options": { "composite": true, + "module": 2, + "noEmitOnError": true, "outFile": "./outFile.js" }, "outSignature": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n", @@ -178,7 +182,7 @@ declare module "b" { ] }, "version": "FakeTSVersion", - "size": 659 + "size": 1081 } //// [/user/username/projects/myproject/outFile.tsbuildinfo.baseline.txt] @@ -232,7 +236,7 @@ Change:: Emit all files Input:: //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"js":{"sections":[{"pos":0,"end":326,"kind":"text"}],"hash":"13183887368-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 10;\n});\n"},"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["./a.ts","./b.ts"],"fileInfos":["-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./a.ts","./b.ts"],"js":{"sections":[{"pos":0,"end":326,"kind":"text"}],"hash":"13183887368-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.x = void 0;\n exports.x = 10;\n});\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n exports.__esModule = true;\n exports.y = void 0;\n exports.y = 10;\n});\n"},"dts":{"sections":[{"pos":0,"end":96,"kind":"text"}],"hash":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n"}},"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":["-7698705165-/// \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; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { @@ -265,22 +269,26 @@ Input:: }, "program": { "fileNames": [ + "../../../../a/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { + "../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-13729955264-export const y = 10;" }, "options": { "composite": true, + "module": 2, + "noEmitOnError": true, "outFile": "./outFile.js" }, "outSignature": "-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n", "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1073 + "size": 1495 } //// [/user/username/projects/myproject/outFile.tsbuildinfo.baseline.txt] diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js index 9a56f1226bf10..d1482c53f0d53 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js @@ -70,7 +70,7 @@ declare module Hmi { //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./Source.ts"],"js":{"sections":[{"pos":0,"end":251,"kind":"text"}],"hash":"10774636636-var Hmi;\n(function (Hmi) {\n var Button = /** @class */ (function () {\n function Button() {\n }\n Button.myStaticFunction = function () {\n };\n return Button;\n }());\n Hmi.Button = Button;\n})(Hmi || (Hmi = {}));\n"},"dts":{"sections":[{"pos":0,"end":89,"kind":"text"}],"hash":"-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n"}},"program":{"fileNames":["./Source.ts"],"fileInfos":["-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}"],"options":{"composite":true,"outFile":"./Source.js"},"outSignature":"-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./Source.ts"],"js":{"sections":[{"pos":0,"end":251,"kind":"text"}],"hash":"10774636636-var Hmi;\n(function (Hmi) {\n var Button = /** @class */ (function () {\n function Button() {\n }\n Button.myStaticFunction = function () {\n };\n return Button;\n }());\n Hmi.Button = Button;\n})(Hmi || (Hmi = {}));\n"},"dts":{"sections":[{"pos":0,"end":89,"kind":"text"}],"hash":"-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./Source.ts"],"fileInfos":["-7698705165-/// \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; }","-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}"],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo.readable.baseline.txt] { @@ -102,20 +102,23 @@ declare module Hmi { }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", "./Source.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "./Source.ts": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}" }, "options": { "composite": true, + "module": 0, "outFile": "./Source.js" }, "outSignature": "-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", "latestChangedDtsFile": "./Source.d.ts" }, "version": "FakeTSVersion", - "size": 994 + "size": 1398 } //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo.baseline.txt] @@ -171,7 +174,7 @@ declare module Hmi { //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./Source.ts"],"js":{"sections":[{"pos":0,"end":268,"kind":"text"}],"hash":"7833001416-var Hmi;\n(function (Hmi) {\n var Sibling = /** @class */ (function () {\n function Sibling() {\n }\n Sibling.prototype.mySiblingFunction = function () {\n };\n return Sibling;\n }());\n Hmi.Sibling = Sibling;\n})(Hmi || (Hmi = {}));\n"},"dts":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"7777218469-declare module Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n"}},"program":{"fileNames":["./Source.ts"],"fileInfos":["-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}"],"options":{"composite":true,"outFile":"./Source.js"},"outSignature":"7777218469-declare module Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./","sourceFiles":["./Source.ts"],"js":{"sections":[{"pos":0,"end":268,"kind":"text"}],"hash":"7833001416-var Hmi;\n(function (Hmi) {\n var Sibling = /** @class */ (function () {\n function Sibling() {\n }\n Sibling.prototype.mySiblingFunction = function () {\n };\n return Sibling;\n }());\n Hmi.Sibling = Sibling;\n})(Hmi || (Hmi = {}));\n"},"dts":{"sections":[{"pos":0,"end":84,"kind":"text"}],"hash":"7777218469-declare module Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n"}},"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../buttonClass/Source.d.ts","./Source.ts"],"fileInfos":["-7698705165-/// \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; }","-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}"],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"7777218469-declare module Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo.readable.baseline.txt] { @@ -203,20 +206,25 @@ declare module Hmi { }, "program": { "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../buttonClass/Source.d.ts", "./Source.ts" ], "fileInfos": { + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "../buttonClass/Source.d.ts": "-9317793727-declare module Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", "./Source.ts": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}" }, "options": { "composite": true, + "module": 0, "outFile": "./Source.js" }, "outSignature": "7777218469-declare module Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n", "latestChangedDtsFile": "./Source.d.ts" }, "version": "FakeTSVersion", - "size": 993 + "size": 1535 } //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo.baseline.txt] 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 7c9d3622176ae..547bbe577e933 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 @@ -115,7 +115,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \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; }","-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -148,9 +148,11 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "../../lib/index.ts": "-7311945748-namespace container {\r\n export const myConst = 30;\r\n}" }, "options": { @@ -162,7 +164,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 995 + "size": 1391 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -227,7 +229,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \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; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -286,9 +288,13 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}" }, "options": { @@ -300,7 +306,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1714 + "size": 2196 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] 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 17c4a3f6faf15..d4fd7dbe7ad32 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 @@ -112,7 +112,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \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; }","-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -145,9 +145,11 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "../../lib/index.ts": "-7311945748-namespace container {\r\n export const myConst = 30;\r\n}" }, "options": { @@ -159,7 +161,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 995 + "size": 1391 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -224,7 +226,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \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; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -283,9 +285,13 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}" }, "options": { @@ -297,7 +303,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1714 + "size": 2196 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] 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 83f8a59e8a29a..ee87a77db73be 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 @@ -250,7 +250,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../lib/index.ts"],"fileInfos":["-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../lib","sourceFiles":["../../lib/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"text"}],"hash":"-5780640416-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"text"}],"mapHash":"-12950023432-{\"version\":3,\"file\":\"lib.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B\"}","hash":"-3233313694-declare namespace container {\n const myConst = 30;\n}\n//# sourceMappingURL=lib.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \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; }","-7311945748-namespace container {\r\n export const myConst = 30;\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -283,9 +283,11 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", "../../lib/index.ts": "-7311945748-namespace container {\r\n export const myConst = 30;\r\n}" }, "options": { @@ -297,7 +299,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 995 + "size": 1391 } //// [/user/username/projects/container/built/local/lib.tsbuildinfo.baseline.txt] @@ -362,7 +364,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../compositeexec/index.ts"],"fileInfos":["-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"../../compositeExec","sourceFiles":["../../compositeExec/index.ts"],"js":{"sections":[{"pos":0,"end":102,"kind":"prepend","data":"./lib.js","texts":[{"pos":0,"end":102,"kind":"text"}]},{"pos":102,"end":283,"kind":"text"}],"hash":"-2184050024-var container;\n(function (container) {\n container.myConst = 30;\n})(container || (container = {}));\nvar container;\n(function (container) {\n function getMyConst() {\n return container.myConst;\n }\n container.getMyConst = getMyConst;\n})(container || (container = {}));\n"},"dts":{"sections":[{"pos":0,"end":56,"kind":"prepend","data":"./lib.d.ts","texts":[{"pos":0,"end":56,"kind":"text"}]},{"pos":56,"end":123,"kind":"text"}],"mapHash":"25748245913-{\"version\":3,\"file\":\"compositeExec.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../../lib/index.ts\",\"../../compositeExec/index.ts\"],\"names\":[],\"mappings\":\"AAAA,kBAAU,SAAS,CAAC;IACT,MAAM,OAAO,KAAK,CAAC;CAC7B;ACFD,kBAAU,SAAS,CAAC;IAChB,SAAgB,UAAU,WAEzB;CACJ\"}","hash":"862035579-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n//# sourceMappingURL=compositeExec.d.ts.map"}},"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \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; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}"],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"5987946274-declare namespace container {\n const myConst = 30;\n}\ndeclare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -421,9 +423,13 @@ declare namespace container { }, "program": { "fileNames": [ + "../../../../../../a/lib/lib.d.ts", + "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \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; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "../../compositeexec/index.ts": "-6143734929-namespace container {\r\n export function getMyConst() {\r\n return myConst;\r\n }\r\n}" }, "options": { @@ -435,7 +441,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1714 + "size": 2196 } //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.baseline.txt] From fdba2d3a727b1d259a016abfa8ab9a4a218f7f51 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Wed, 2 Nov 2022 22:54:33 -0700 Subject: [PATCH 09/11] Copy js or dts bundle from old build if emitting only js or dts files --- src/compiler/builder.ts | 31 +- src/compiler/emitter.ts | 44 +- src/compiler/program.ts | 2 +- src/compiler/types.ts | 4 +- src/compiler/watchPublic.ts | 2 +- ...-incremental-with-outFile-discrepancies.js | 865 ++---------------- ...t-options-with-incremental-with-outFile.js | 143 ++- ...rent-options-with-outFile-discrepancies.js | 476 +--------- .../different-options-with-outFile.js | 52 +- ...-incremental-with-outFile-discrepancies.js | 865 ++---------------- ...t-options-with-incremental-with-outFile.js | 143 ++- ...rent-options-with-outFile-discrepancies.js | 476 +--------- .../different-options-with-outFile.js | 52 +- ...nMap-changes-with-outFile-discrepancies.js | 119 --- ...hen-declarationMap-changes-with-outFile.js | 28 +- 15 files changed, 518 insertions(+), 2784 deletions(-) delete mode 100644 tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index e64bcdef6c6cf..e5a09f3bdb44d 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -69,6 +69,7 @@ namespace ts { * Name of the file whose dts was the latest to change */ latestChangedDtsFile: string | undefined; + bundle?: BundleBuildInfo; } export const enum BuilderFileEmit { @@ -312,9 +313,10 @@ namespace ts { } } } - // If this program has prepend references, always emit since we wont know if files on disk are correct unless we check file hash for correctness - if (outFilePath && !state.changedFilesSet.size && some(newProgram.getProjectReferences(), ref => !!ref.prepend)) { - state.programEmitPending = getBuilderFileEmit(compilerOptions); + if (outFilePath && !state.changedFilesSet.size) { + if (useOldState) state.bundle = oldState!.bundle; + // If this program has prepend references, always emit since we wont know if files on disk are correct unless we check file hash for correctness + if (some(newProgram.getProjectReferences(), ref => !!ref.prepend)) state.programEmitPending = getBuilderFileEmit(compilerOptions); } return state; } @@ -914,7 +916,7 @@ namespace ts { /** * Gets the program information to be emitted in buildInfo so that we can use it to create new program */ - function getProgramBuildInfo(state: BuilderProgramState, getCanonicalFileName: GetCanonicalFileName): ProgramBuildInfo | undefined { + function getBuildInfo(state: BuilderProgramState, getCanonicalFileName: GetCanonicalFileName, bundle: BundleBuildInfo | undefined): BuildInfo { const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory(); const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions)!, currentDirectory)); // Convert the file name to Path here if we set the fileName instead to optimize multiple d.ts file emits and having to compute Canonical path @@ -929,7 +931,7 @@ namespace ts { { version: value.version, impliedFormat: value.impliedFormat, signature: undefined, affectsGlobalScope: undefined } : value.version; }); - const result: ProgramBundleEmitBuildInfo = { + const program: ProgramBundleEmitBuildInfo = { fileNames, fileInfos, options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions), @@ -942,7 +944,14 @@ namespace ts { false : state.programEmitPending, }; - return result; + const { js, dts, commonSourceDirectory, sourceFiles } = bundle!; + state.bundle = bundle = { + commonSourceDirectory, + sourceFiles, + js: js || (!state.compilerOptions.emitDeclarationOnly ? state.bundle?.js : undefined), + dts: dts || (getEmitDeclarations(state.compilerOptions) ? state.bundle?.dts : undefined), + }; + return createBuildInfo(program, bundle); } let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; @@ -1042,7 +1051,7 @@ namespace ts { } } - const result: ProgramMultiFileEmitBuildInfo = { + const program: ProgramMultiFileEmitBuildInfo = { fileNames, fileInfos, options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions), @@ -1056,7 +1065,7 @@ namespace ts { emitSignatureDtsMapDiffers, latestChangedDtsFile, }; - return result; + return createBuildInfo(program, bundle); function relativeToBuildInfoEnsuringAbsolutePath(path: string) { return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory)); @@ -1252,7 +1261,7 @@ namespace ts { */ const computeHash = maybeBind(host, host.createHash); const state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature); - newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName); + newProgram.getBuildInfo = bundle => getBuildInfo(state, getCanonicalFileName, bundle); // To ensure that we arent storing any references to old program or new program without state newProgram = undefined!; // TODO: GH#18217 @@ -1587,7 +1596,8 @@ namespace ts { return !value ? getBuilderFileEmit(options || {}) : value; } - export function createBuilderProgramUsingProgramBuildInfo(program: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { + export function createBuilderProgramUsingProgramBuildInfo(buildInfo: BuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram { + const program = buildInfo.program!; const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory())); const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames()); @@ -1608,6 +1618,7 @@ namespace ts { outSignature: program.outSignature, outSignatureDtsMapDiffers: program.outSignatureDtsMapDiffers, programEmitPending: program.pendingEmit === undefined ? undefined : toProgramEmitPending(program.pendingEmit, program.options), + bundle: buildInfo.bundle, }; } else { diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 627dc04da8c08..78ee9dcc45cb6 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -358,13 +358,11 @@ namespace ts { function emitBuildInfo(bundle: BundleBuildInfo | undefined, buildInfoPath: string | undefined) { // Write build information if applicable if (!buildInfoPath || targetSourceFile || emitSkipped) return; - const program = host.getProgramBuildInfo(); if (host.isEmitBlocked(buildInfoPath)) { emitSkipped = true; return; } - const version = ts.version; // Extracted into a const so the form is stable between namespace and module - const buildInfo: BuildInfo = { bundle, program, version }; + const buildInfo = host.getBuildInfo(bundle) || createBuildInfo(/*program*/ undefined, bundle); // Pass buildinfo as additional data to avoid having to reparse writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText(buildInfo), /*writeByteOrderMark*/ false, /*sourceFiles*/ undefined, { buildInfo }); } @@ -646,6 +644,12 @@ namespace ts { } } + /*@internal*/ + export function createBuildInfo(program: ProgramBuildInfo | undefined, bundle: BundleBuildInfo | undefined): BuildInfo { + const version = ts.version; // Extracted into a const so the form is stable between namespace and module + return { bundle, program, version }; + } + /*@internal*/ export function getBuildInfoText(buildInfo: BuildInfo) { return JSON.stringify(buildInfo); @@ -825,21 +829,7 @@ namespace ts { if (sourceMapText === text) return; break; case buildInfoPath: - const newBuildInfo = data!.buildInfo!; - newBuildInfo.program = buildInfo!.program; - if (newBuildInfo.program && changedDtsText !== undefined && config.options.composite) { - // Update the output signature - (newBuildInfo.program as ProgramBundleEmitBuildInfo).outSignature = computeSignature(changedDtsText, createHash, changedDtsData); - } - // Update sourceFileInfo - const { js, dts, sourceFiles } = buildInfo!.bundle!; - newBuildInfo.bundle!.js!.sources = js!.sources; - if (dts) { - newBuildInfo.bundle!.dts!.sources = dts.sources; - } - newBuildInfo.bundle!.sourceFiles = sourceFiles; - outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark, data: { buildInfo: newBuildInfo } }); - return; + break; case declarationFilePath: if (declarationText === text) return; changedDtsText = text; @@ -851,13 +841,27 @@ namespace ts { default: Debug.fail(`Unexpected path: ${name}`); } - outputFiles.push({ name, text, writeByteOrderMark }); + outputFiles.push({ name, text, writeByteOrderMark, data }); }, isEmitBlocked: returnFalse, readFile: f => host.readFile(f), fileExists: f => host.fileExists(f), useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), - getProgramBuildInfo: returnUndefined, + getBuildInfo: bundle => { + const program = buildInfo!.program; + if (program && changedDtsText !== undefined && config.options.composite) { + // Update the output signature + (program as ProgramBundleEmitBuildInfo).outSignature = computeSignature(changedDtsText, createHash, changedDtsData); + } + // Update sourceFileInfo + const { js, dts, sourceFiles } = buildInfo!.bundle!; + bundle!.js!.sources = js!.sources; + if (dts) { + bundle!.dts!.sources = dts.sources; + } + bundle!.sourceFiles = sourceFiles; + return createBuildInfo(program, bundle); + }, getSourceFileFromReference: returnUndefined, redirectTargetsMap: createMultiMap(), getFileIncludeReasons: notImplemented, diff --git a/src/compiler/program.ts b/src/compiler/program.ts index cc773c39f4bae..263d20b6ed80c 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1948,7 +1948,7 @@ namespace ts { return host.fileExists(f); }, useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(), - getProgramBuildInfo: () => program.getProgramBuildInfo && program.getProgramBuildInfo(), + getBuildInfo: bundle => program.getBuildInfo?.(bundle), getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref), redirectTargetsMap, getFileIncludeReasons: program.getFileIncludeReasons, diff --git a/src/compiler/types.ts b/src/compiler/types.ts index f74ea2d646fb1..e36a7d813f3df 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4469,7 +4469,7 @@ namespace ts { /*@internal*/ forEachResolvedProjectReference(cb: (resolvedProjectReference: ResolvedProjectReference) => T | undefined): T | undefined; /*@internal*/ getResolvedProjectReferenceByPath(projectReferencePath: Path): ResolvedProjectReference | undefined; /*@internal*/ isSourceOfProjectReferenceRedirect(fileName: string): boolean; - /*@internal*/ getProgramBuildInfo?(): ProgramBuildInfo | undefined; + /*@internal*/ getBuildInfo?(bundle: BundleBuildInfo | undefined): BuildInfo; /*@internal*/ emitBuildInfo(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult; /** * This implementation handles file exists to be true if file is source of project reference redirect when program is created using useSourceOfProjectReferenceRedirect @@ -7533,7 +7533,7 @@ namespace ts { getPrependNodes(): readonly (InputFiles | UnparsedSource)[]; writeFile: WriteFileCallback; - getProgramBuildInfo(): ProgramBuildInfo | undefined; + getBuildInfo(bundle: BundleBuildInfo | undefined): BuildInfo | undefined; getSourceFileFromReference: Program["getSourceFileFromReference"]; readonly redirectTargetsMap: RedirectTargetsMap; createHash?(data: string): string; diff --git a/src/compiler/watchPublic.ts b/src/compiler/watchPublic.ts index 011a24f5b7129..919cf9fd7c6ab 100644 --- a/src/compiler/watchPublic.ts +++ b/src/compiler/watchPublic.ts @@ -20,7 +20,7 @@ namespace ts { buildInfo = getBuildInfo(buildInfoPath, content); } if (!buildInfo || buildInfo.version !== version || !buildInfo.program) return undefined; - return createBuilderProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host); + return createBuilderProgramUsingProgramBuildInfo(buildInfo, buildInfoPath, host); } export function createIncrementalCompilerHost(options: CompilerOptions, system = sys): CompilerHost { diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index c5686f9c95509..b17c42d62806f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,632 +1,4 @@ -2:: with declaration, emit Dts and should not emit js -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -3:: with declaration and declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -4:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Clean build does not have dts bundle section -Incremental build contains the dts build section from before -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -6:: with declaration and declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -7:: no-change-run +4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section @@ -646,17 +18,17 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 747, + "end": 746, "kind": "text" } ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, "program": { "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -678,6 +50,16 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -693,7 +75,7 @@ IncrementalBuild: "program": { "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -712,13 +94,13 @@ CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-747) +text: (0-746) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -744,6 +126,35 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { IncrementalBuild: ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -763,8 +174,11 @@ declare module "d" { } ====================================================================== -11:: with declaration and declarationMap (should this reemit or not?) -*** Needs explanation +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -785,17 +199,6 @@ CleanBuild: } ], "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { @@ -807,8 +210,6 @@ CleanBuild: "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { - "declaration": true, - "declarationMap": true, "module": 2, "outFile": "./outFile.js" } @@ -825,6 +226,16 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -888,139 +299,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }); ====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -12:: with declaration and declarationMap, should not re-emit -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- @@ -1070,26 +349,4 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index d9848173acf38..c27e78a514f41 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -437,11 +437,40 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -472,6 +501,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -505,7 +544,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1333 + "size": 2240 } @@ -558,7 +597,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -571,6 +610,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -606,7 +655,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1738 + "size": 2645 } @@ -804,11 +853,40 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -839,6 +917,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -874,7 +962,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1739 + "size": 2650 } @@ -1293,11 +1381,40 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -1328,6 +1445,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -1363,7 +1490,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1739 + "size": 2650 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 6140b848f38e1..968c5ff4f05ba 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -101,62 +101,13 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -4:: with declaration and declarationMap -*** Needs explanation +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -174,8 +125,7 @@ IncrementalBuild: "kind": "text" } ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, "program": { @@ -188,8 +138,7 @@ IncrementalBuild: }, "options": { "composite": true, - "declaration": true, - "declarationMap": true, + "emitDeclarationOnly": true, "module": 2, "outFile": "./outFile.js" }, @@ -198,84 +147,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -5:: should re-emit only dts so they dont contain sourcemap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -324,204 +196,6 @@ CleanBuild: }, "version": "FakeTSVersion" } -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -6:: with emitDeclarationOnly should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -Clean build info does not have js section because its fresh build -Incremental build info has js section from old build -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} File: /src/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== @@ -545,120 +219,6 @@ declare module "d" { IncrementalBuild: ====================================================================== File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -7:: no-change-run -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ---------------------------------------------------------------------- text: (0-746) define("a", ["require", "exports"], function (require, exports) { @@ -706,28 +266,6 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js index 393adbebf5e2b..3e5f7420cbb2c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -544,31 +544,9 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -579,6 +557,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -617,7 +605,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2062 + "size": 2969 } @@ -667,7 +655,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -680,6 +668,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -715,7 +713,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1638 + "size": 2545 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js index c5686f9c95509..b17c42d62806f 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js @@ -1,632 +1,4 @@ -2:: with declaration, emit Dts and should not emit js -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -3:: with declaration and declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -4:: no-change-run -Clean build tsbuildinfo will have compilerOptions {} -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap -Clean build does not have dts bundle section -Incremental build contains the dts build section from before -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -6:: with declaration and declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-747) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 100; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -7:: no-change-run +4:: no-change-run Clean build tsbuildinfo will have compilerOptions {} Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap Clean build does not have dts bundle section @@ -646,17 +18,17 @@ CleanBuild: "sections": [ { "pos": 0, - "end": 747, + "end": 746, "kind": "text" } ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" } }, "program": { "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -678,6 +50,16 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -693,7 +75,7 @@ IncrementalBuild: "program": { "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" @@ -712,13 +94,13 @@ CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- -text: (0-747) +text: (0-746) define("a", ["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = void 0; exports.a = 10; - var aLocal = 100; + var aLocal = 10; }); define("b", ["require", "exports"], function (require, exports) { "use strict"; @@ -744,6 +126,35 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { IncrementalBuild: ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -763,8 +174,11 @@ declare module "d" { } ====================================================================== -11:: with declaration and declarationMap (should this reemit or not?) -*** Needs explanation +7:: no-change-run +Clean build tsbuildinfo will have compilerOptions {} +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option declaration and declarationMap +Clean build does not have dts bundle section +Incremental build contains the dts build section from before TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: { @@ -785,17 +199,6 @@ CleanBuild: } ], "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" } }, "program": { @@ -807,8 +210,6 @@ CleanBuild: "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "options": { - "declaration": true, - "declarationMap": true, "module": 2, "outFile": "./outFile.js" } @@ -825,6 +226,16 @@ IncrementalBuild: "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -888,139 +299,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }); ====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -12:: with declaration and declarationMap, should not re-emit -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 747, - "kind": "text" - } - ], - "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - } - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: ====================================================================== File:: /src/outFile.js ---------------------------------------------------------------------- @@ -1070,26 +349,4 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js index 761bd56c56835..86d49dd9f4286 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js @@ -409,11 +409,40 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-746) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 10; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -444,6 +473,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -477,7 +516,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1333 + "size": 2240 } @@ -523,7 +562,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -536,6 +575,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -571,7 +620,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1738 + "size": 2645 } @@ -763,11 +812,40 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -798,6 +876,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -833,7 +921,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1739 + "size": 2650 } @@ -1232,11 +1320,40 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":747,"kind":"text"}],"hash":"15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] ====================================================================== File:: /src/outFile.js +---------------------------------------------------------------------- +text: (0-747) +define("a", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.a = void 0; + exports.a = 10; + var aLocal = 100; +}); +define("b", ["require", "exports"], function (require, exports) { + "use strict"; + exports.__esModule = true; + exports.b = void 0; + exports.b = 10; + var bLocal = 10; +}); +define("c", ["require", "exports", "a"], function (require, exports, a_1) { + "use strict"; + exports.__esModule = true; + exports.c = void 0; + exports.c = a_1.a; +}); +define("d", ["require", "exports", "b"], function (require, exports, b_1) { + "use strict"; + exports.__esModule = true; + exports.d = void 0; + exports.d = b_1.b; +}); + ====================================================================== ====================================================================== File:: /src/outFile.d.ts @@ -1267,6 +1384,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 747, + "kind": "text" + } + ], + "hash": "15496582544-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 100;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -1302,7 +1429,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1739 + "size": 2650 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js index 6140b848f38e1..968c5ff4f05ba 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js @@ -101,62 +101,13 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -4:: with declaration and declarationMap -*** Needs explanation +6:: with emitDeclarationOnly should not emit anything +Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly +Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only +Clean build info does not have js section because its fresh build +Incremental build info has js section from old build TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -174,8 +125,7 @@ IncrementalBuild: "kind": "text" } ], - "hash": "-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}" + "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" } }, "program": { @@ -188,8 +138,7 @@ IncrementalBuild: }, "options": { "composite": true, - "declaration": true, - "declarationMap": true, + "emitDeclarationOnly": true, "module": 2, "outFile": "./outFile.js" }, @@ -198,84 +147,7 @@ IncrementalBuild: }, "version": "FakeTSVersion" } -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -5:: should re-emit only dts so they dont contain sourcemap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: { "bundle": { "commonSourceDirectory": "./project", @@ -324,204 +196,6 @@ CleanBuild: }, "version": "FakeTSVersion" } -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-746) -define("a", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = void 0; - exports.a = 10; - var aLocal = 10; -}); -define("b", ["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.b = void 0; - exports.b = 10; - var bLocal = 10; -}); -define("c", ["require", "exports", "a"], function (require, exports, a_1) { - "use strict"; - exports.__esModule = true; - exports.c = void 0; - exports.c = a_1.a; -}); -define("d", ["require", "exports", "b"], function (require, exports, b_1) { - "use strict"; - exports.__esModule = true; - exports.d = void 0; - exports.d = b_1.b; -}); - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -6:: with emitDeclarationOnly should not emit anything -Clean build tsbuildinfo will have compilerOptions with composite and emitDeclarationOnly -Incremental build will detect that it doesnt need to rebuild so tsbuild info is from before which has option composite only -Clean build info does not have js section because its fresh build -Incremental build info has js section from old build -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "emitDeclarationOnly": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} File: /src/outfile.tsbuildinfo.baseline.txt CleanBuild: ====================================================================== @@ -545,120 +219,6 @@ declare module "d" { IncrementalBuild: ====================================================================== File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== -7:: no-change-run -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 746, - "kind": "text" - } - ], - "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts", - "./project/c.ts", - "./project/d.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 204, - "kind": "text" - } - ], - "hash": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n" - } - }, - "program": { - "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; };", - "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", - "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", - "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", - "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" - }, - "options": { - "composite": true, - "module": 2, - "outFile": "./outFile.js" - }, - "outSignature": "-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ---------------------------------------------------------------------- text: (0-746) define("a", ["require", "exports"], function (require, exports) { @@ -706,28 +266,6 @@ declare module "d" { export const d = 10; } -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - ====================================================================== 9:: with declaration should not emit anything Clean build tsbuildinfo will have compilerOptions with composite and declaration diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index 98051226641d9..9ea83fb3a5404 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -532,31 +532,9 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-204) -declare module "a" { - export const a = 10; -} -declare module "b" { - export const b = 10; -} -declare module "c" { - export const c = 10; -} -declare module "d" { - export const d = 10; -} - -====================================================================== +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"mapHash":"-4599397025-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\",\"project/c.ts\",\"project/d.ts\"],\"names\":[],\"mappings\":\";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC\"}","hash":"-9598548394-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -567,6 +545,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -605,7 +593,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 2062 + "size": 2969 } @@ -648,7 +636,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"js":{"sections":[{"pos":0,"end":746,"kind":"text"}],"hash":"73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n"},"dts":{"sections":[{"pos":0,"end":204,"kind":"text"}],"hash":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.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; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-10569306755-declare module \"a\" {\r\n export const a = 10;\r\n}\r\ndeclare module \"b\" {\r\n export const b = 10;\r\n}\r\ndeclare module \"c\" {\r\n export const c = 10;\r\n}\r\ndeclare module \"d\" {\r\n export const d = 10;\r\n}\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] @@ -661,6 +649,16 @@ declare module "d" { "./project/c.ts", "./project/d.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 746, + "kind": "text" + } + ], + "hash": "73318240-define(\"a\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.a = void 0;\r\n exports.a = 10;\r\n var aLocal = 10;\r\n});\r\ndefine(\"b\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.b = void 0;\r\n exports.b = 10;\r\n var bLocal = 10;\r\n});\r\ndefine(\"c\", [\"require\", \"exports\", \"a\"], function (require, exports, a_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.c = void 0;\r\n exports.c = a_1.a;\r\n});\r\ndefine(\"d\", [\"require\", \"exports\", \"b\"], function (require, exports, b_1) {\r\n \"use strict\";\r\n exports.__esModule = true;\r\n exports.d = void 0;\r\n exports.d = b_1.b;\r\n});\r\n" + }, "dts": { "sections": [ { @@ -696,7 +694,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1638 + "size": 2545 } diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js deleted file mode 100644 index 0dbf34412a5b5..0000000000000 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile-discrepancies.js +++ /dev/null @@ -1,119 +0,0 @@ -1:: fix error declarationMap -*** Needs explanation -TsBuild info text without affectedFilesPendingEmit:: /src/outfile.tsbuildinfo.readable.baseline.txt:: -CleanBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts" - ], - "js": { - "sections": [ - { - "pos": 0, - "end": 26, - "kind": "text" - } - ], - "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" - }, - "dts": { - "sections": [ - { - "pos": 0, - "end": 46, - "kind": "text" - } - ], - "hash": "-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "5029505981-const x = 10;", - "./project/b.ts": "2026006654-const y = 10;" - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "noEmitOnError": true, - "outFile": "./outFile.js" - }, - "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -IncrementalBuild: -{ - "bundle": { - "commonSourceDirectory": "./project", - "sourceFiles": [ - "./project/a.ts", - "./project/b.ts" - ], - "dts": { - "sections": [ - { - "pos": 0, - "end": 46, - "kind": "text" - } - ], - "hash": "-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map", - "mapHash": "12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}" - } - }, - "program": { - "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; };", - "./project/a.ts": "5029505981-const x = 10;", - "./project/b.ts": "2026006654-const y = 10;" - }, - "options": { - "composite": true, - "declaration": true, - "declarationMap": true, - "noEmitOnError": true, - "outFile": "./outFile.js" - }, - "outSignature": "-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n", - "latestChangedDtsFile": "FakeFileName" - }, - "version": "FakeTSVersion" -} -File: /src/outfile.tsbuildinfo.baseline.txt -CleanBuild: -====================================================================== -File:: /src/outFile.js ----------------------------------------------------------------------- -text: (0-26) -var x = 10; -var y = 10; - -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-46) -declare const x = 10; -declare const y = 10; - -====================================================================== -IncrementalBuild: -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-46) -declare const x = 10; -declare const y = 10; - -====================================================================== \ No newline at end of file diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js index c32511bc9f6d0..fed0922f166f0 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-with-outFile.js @@ -159,21 +159,9 @@ declare const y = 10; {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} //// [/src/outFile.tsbuildinfo] -{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.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; };","5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} - -//// [/src/outFile.tsbuildinfo.baseline.txt] -====================================================================== -File:: /src/outFile.js -====================================================================== -====================================================================== -File:: /src/outFile.d.ts ----------------------------------------------------------------------- -text: (0-46) -declare const x = 10; -declare const y = 10; - -====================================================================== +{"bundle":{"commonSourceDirectory":"./project","sourceFiles":["./project/a.ts","./project/b.ts"],"js":{"sections":[{"pos":0,"end":26,"kind":"text"}],"hash":"-4980187384-var x = 10;\r\nvar y = 10;\r\n"},"dts":{"sections":[{"pos":0,"end":46,"kind":"text"}],"mapHash":"12253058536-{\"version\":3,\"file\":\"outFile.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"project/a.ts\",\"project/b.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC\"}","hash":"-10321164067-declare const x = 10;\r\ndeclare const y = 10;\r\n//# sourceMappingURL=outFile.d.ts.map"}},"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.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; };","5029505981-const x = 10;","2026006654-const y = 10;"],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-7944035420-declare const x = 10;\r\ndeclare const y = 10;\r\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +//// [/src/outFile.tsbuildinfo.baseline.txt] file written with same contents //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { "bundle": { @@ -182,6 +170,16 @@ declare const y = 10; "./project/a.ts", "./project/b.ts" ], + "js": { + "sections": [ + { + "pos": 0, + "end": 26, + "kind": "text" + } + ], + "hash": "-4980187384-var x = 10;\r\nvar y = 10;\r\n" + }, "dts": { "sections": [ { @@ -216,6 +214,6 @@ declare const y = 10; "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1440 } From cdcae300153b6ec6eef08bbc64285718149d9bae Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 3 Nov 2022 01:44:41 -0700 Subject: [PATCH 10/11] Dont emit dts if we want to emit only js files even though options suggest emitting d.ts files as well --- src/compiler/builder.ts | 9 ++- src/compiler/emitter.ts | 24 ++++---- src/compiler/program.ts | 10 ++-- src/compiler/transformer.ts | 8 +-- src/compiler/types.ts | 7 ++- ...eclaration-and-incremental-with-outFile.js | 31 +++++----- ...ndline-with-declaration-and-incremental.js | 34 +++++------ ...eclaration-and-incremental-with-outFile.js | 53 +++++++++-------- ...ndline-with-declaration-and-incremental.js | 58 +++++++++---------- .../different-options-with-outFile.js | 1 - .../tsc/incremental/different-options.js | 4 -- 11 files changed, 118 insertions(+), 121 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index e5a09f3bdb44d..a1d95098fefb1 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -1349,6 +1349,13 @@ namespace ts { getPendingEmitKind(state.programEmitPending, emitKind) : undefined; } + let emitOnly: EmitOnly | undefined; + if (emitKind & BuilderFileEmit.AllJs) { + emitOnly = EmitOnly.Js; + } + if (emitKind & BuilderFileEmit.AllDts) { + emitOnly = emitOnly === undefined ? EmitOnly.Dts : undefined; + } return toAffectedFileEmitResult( state, // When whole program is affected, do emit only once (eg when --out or --outFile is specified) @@ -1359,7 +1366,7 @@ namespace ts { getWriteFileCallback(writeFile, customTransformers) : writeFile || maybeBind(host, host.writeFile), cancellationToken, - emitOnlyDtsFiles || !(emitKind & BuilderFileEmit.AllJs), + emitOnly, customTransformers ), affected, diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 78ee9dcc45cb6..b2107da827160 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -278,7 +278,7 @@ namespace ts { /*@internal*/ // targetSourceFile is when users only want one file in entire project to be emitted. This is used in compileOnSave feature - export function emitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile | undefined, { scriptTransformers, declarationTransformers }: EmitTransformers, emitOnlyDtsFiles?: boolean, onlyBuildInfo?: boolean, forceDtsEmit?: boolean): EmitResult { + export function emitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile | undefined, { scriptTransformers, declarationTransformers }: EmitTransformers, emitOnly?: boolean | EmitOnly, onlyBuildInfo?: boolean, forceDtsEmit?: boolean): EmitResult { const compilerOptions = host.getCompilerOptions(); const sourceMapDataList: SourceMapEmitResult[] | undefined = (compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions)) ? [] : undefined; const emittedFilesList: string[] | undefined = compilerOptions.listEmittedFiles ? [] : undefined; @@ -331,7 +331,7 @@ namespace ts { tracing?.pop(); if (!emitSkipped && emittedFilesList) { - if (!emitOnlyDtsFiles) { + if (!emitOnly) { if (jsFilePath) { emittedFilesList.push(jsFilePath); } @@ -342,11 +342,13 @@ namespace ts { emittedFilesList.push(buildInfoPath); } } - if (declarationFilePath) { - emittedFilesList.push(declarationFilePath); - } - if (declarationMapPath) { - emittedFilesList.push(declarationMapPath); + if (emitOnly !== EmitOnly.Js) { + if (declarationFilePath) { + emittedFilesList.push(declarationFilePath); + } + if (declarationMapPath) { + emittedFilesList.push(declarationMapPath); + } } } @@ -372,7 +374,7 @@ namespace ts { jsFilePath: string | undefined, sourceMapFilePath: string | undefined, relativeToBuildInfo: (path: string) => string) { - if (!sourceFileOrBundle || emitOnlyDtsFiles || !jsFilePath) { + if (!sourceFileOrBundle || emitOnly || !jsFilePath) { return; } @@ -422,16 +424,16 @@ namespace ts { declarationFilePath: string | undefined, declarationMapPath: string | undefined, relativeToBuildInfo: (path: string) => string) { - if (!sourceFileOrBundle) return; + if (!sourceFileOrBundle || emitOnly === EmitOnly.Js) return; if (!declarationFilePath) { - if (emitOnlyDtsFiles || compilerOptions.emitDeclarationOnly) emitSkipped = true; + if (emitOnly || compilerOptions.emitDeclarationOnly) emitSkipped = true; return; } const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.sourceFiles; const filesForEmit = forceDtsEmit ? sourceFiles : filter(sourceFiles, isSourceFileNotJson); // Setup and perform the transformation to retrieve declarations from the input files const inputListOrBundle = outFile(compilerOptions) ? [factory.createBundle(filesForEmit, !isSourceFile(sourceFileOrBundle) ? sourceFileOrBundle.prepends : undefined)] : filesForEmit; - if (emitOnlyDtsFiles && !getEmitDeclarations(compilerOptions)) { + if (emitOnly && !getEmitDeclarations(compilerOptions)) { // Checker wont collect the linked aliases since thats only done when declaration is enabled. // Do that here when emitting only dts files filesForEmit.forEach(collectLinkedAliases); diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 263d20b6ed80c..dcc8a40859aab 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -2038,9 +2038,9 @@ namespace ts { return typeChecker || (typeChecker = createTypeChecker(program)); } - function emit(sourceFile?: SourceFile, writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, transformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult { + function emit(sourceFile?: SourceFile, writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnly?: boolean | EmitOnly, transformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult { tracing?.push(tracing.Phase.Emit, "emit", { path: sourceFile?.path }, /*separateBeginAndEnd*/ true); - const result = runWithCancellationToken(() => emitWorker(program, sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, transformers, forceDtsEmit)); + const result = runWithCancellationToken(() => emitWorker(program, sourceFile, writeFileCallback, cancellationToken, emitOnly, transformers, forceDtsEmit)); tracing?.pop(); return result; } @@ -2049,7 +2049,7 @@ namespace ts { return hasEmitBlockingDiagnostics.has(toPath(emitFileName)); } - function emitWorker(program: Program, sourceFile: SourceFile | undefined, writeFileCallback: WriteFileCallback | undefined, cancellationToken: CancellationToken | undefined, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult { + function emitWorker(program: Program, sourceFile: SourceFile | undefined, writeFileCallback: WriteFileCallback | undefined, cancellationToken: CancellationToken | undefined, emitOnly?: boolean | EmitOnly, customTransformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult { if (!forceDtsEmit) { const result = handleNoEmitOptions(program, sourceFile, writeFileCallback, cancellationToken); if (result) return result; @@ -2071,8 +2071,8 @@ namespace ts { emitResolver, getEmitHost(writeFileCallback), sourceFile, - getTransformers(options, customTransformers, emitOnlyDtsFiles), - emitOnlyDtsFiles, + getTransformers(options, customTransformers, emitOnly), + emitOnly, /*onlyBuildInfo*/ false, forceDtsEmit ); diff --git a/src/compiler/transformer.ts b/src/compiler/transformer.ts index 12c6523839ddb..f47bd4f5ed36d 100644 --- a/src/compiler/transformer.ts +++ b/src/compiler/transformer.ts @@ -31,15 +31,15 @@ namespace ts { export const noTransformers: EmitTransformers = { scriptTransformers: emptyArray, declarationTransformers: emptyArray }; - export function getTransformers(compilerOptions: CompilerOptions, customTransformers?: CustomTransformers, emitOnlyDtsFiles?: boolean): EmitTransformers { + export function getTransformers(compilerOptions: CompilerOptions, customTransformers?: CustomTransformers, emitOnly?: boolean | EmitOnly): EmitTransformers { return { - scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnlyDtsFiles), + scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnly), declarationTransformers: getDeclarationTransformers(customTransformers), }; } - function getScriptTransformers(compilerOptions: CompilerOptions, customTransformers?: CustomTransformers, emitOnlyDtsFiles?: boolean) { - if (emitOnlyDtsFiles) return emptyArray; + function getScriptTransformers(compilerOptions: CompilerOptions, customTransformers?: CustomTransformers, emitOnly?: boolean | EmitOnly) { + if (emitOnly) return emptyArray; const languageVersion = getEmitScriptTarget(compilerOptions); const moduleKind = getEmitModuleKind(compilerOptions); diff --git a/src/compiler/types.ts b/src/compiler/types.ts index e36a7d813f3df..de261279c465f 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4370,6 +4370,11 @@ namespace ts { /*@internal*/ export type FilePreprocessingDiagnostics = FilePreprocessingReferencedDiagnostic | FilePreprocessingFileExplainingDiagnostic; + /*@internal*/ + export const enum EmitOnly{ + Js, + Dts, + } export interface Program extends ScriptReferenceHost { getCurrentDirectory(): string; /** @@ -4405,7 +4410,7 @@ namespace ts { */ emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult; /*@internal*/ - emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult; // eslint-disable-line @typescript-eslint/unified-signatures + emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnly?: boolean | EmitOnly, customTransformers?: CustomTransformers, forceDtsEmit?: boolean): EmitResult; // eslint-disable-line @typescript-eslint/unified-signatures getOptionsDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[]; getGlobalDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[]; diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index 9783b032eec82..0067e4dffd537 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -351,9 +351,9 @@ Output:: [12:00:46 AM] Building project '/src/project1/src/tsconfig.json'... -[12:00:53 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:52 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:54 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:53 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -393,7 +393,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -545,15 +544,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:00:55 AM] Projects in this build: +[12:00:54 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:00:56 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:55 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:00:57 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:00:56 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:00:58 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:57 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -587,15 +586,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:00:59 AM] Projects in this build: +[12:00:58 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:00 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:00:59 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:01:01 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:00 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:02 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:01 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -632,17 +631,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:01:04 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:05 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:04 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:06 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:05 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:12 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:13 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:142 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index 0cabd48a48d26..450970609ffed 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -518,9 +518,9 @@ Output:: [12:00:50 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:02 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:00:58 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:03 AM] Building project '/src/project2/src/tsconfig.json'... +[12:00:59 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -561,7 +561,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/a.js] "use strict"; exports.__esModule = true; @@ -571,7 +570,6 @@ var aLocal = 10; var aa = 10; -//// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/b.js] "use strict"; exports.__esModule = true; @@ -580,7 +578,6 @@ exports.b = 10; var bLocal = 10; -//// [/src/project1/src/c.d.ts] file written with same contents //// [/src/project1/src/c.js] "use strict"; exports.__esModule = true; @@ -589,7 +586,6 @@ var a_1 = require("./a"); exports.c = a_1.a; -//// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] "use strict"; exports.__esModule = true; @@ -789,15 +785,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:07 AM] Projects in this build: +[12:01:03 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:04 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:05 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:10 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:06 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -832,15 +828,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:01:11 AM] Projects in this build: +[12:01:07 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:08 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:01:13 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:09 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:14 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:10 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -878,17 +874,17 @@ export const b = 10;const bLocal = 10;const blocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly false -[12:01:16 AM] Projects in this build: +[12:01:12 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:17 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:13 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:18 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:14 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:24 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:20 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:25 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:21 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:101 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index 35536ae55f9e2..f717c3600a7dc 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -499,9 +499,9 @@ Output:: [12:00:57 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:04 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:03 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:05 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:04 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -541,7 +541,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; @@ -695,15 +694,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:06 AM] Projects in this build: +[12:01:05 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:07 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' +[12:01:06 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/outFile.tsbuildinfo' -[12:01:08 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:07 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:09 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:08 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -740,17 +739,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:11 AM] Projects in this build: +[12:01:10 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:12 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:11 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:13 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:12 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:20 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:19 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:21 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:20 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -949,17 +948,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:23 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:24 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:23 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:25 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:24 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:31 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:32 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:31 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1082,17 +1081,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:34 AM] Projects in this build: +[12:01:33 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:35 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/outFile.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:36 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:35 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:42 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:41 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:43 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:42 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1232,17 +1231,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:45 AM] Projects in this build: +[12:01:44 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:46 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions +[12:01:45 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/outFile.tsbuildinfo' indicates there is change in compilerOptions -[12:01:47 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:46 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:54 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist +[12:01:53 AM] Project 'src/project2/src/tsconfig.json' is out of date because output file 'src/project2/outFile.tsbuildinfo' does not exist -[12:01:55 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:54 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:115 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index cf1a8a5e3c45c..f3136260fa32a 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -773,9 +773,9 @@ Output:: [12:01:04 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:16 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:12 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:17 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:13 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -816,7 +816,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/a.js] "use strict"; exports.__esModule = true; @@ -827,7 +826,6 @@ var aa = 10; exports.aaa = 10; -//// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/b.js] "use strict"; exports.__esModule = true; @@ -836,7 +834,6 @@ exports.b = 10; var bLocal = 10; -//// [/src/project1/src/c.d.ts] file written with same contents //// [/src/project1/src/c.js] "use strict"; exports.__esModule = true; @@ -845,7 +842,6 @@ var a_1 = require("./a"); exports.c = a_1.a; -//// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] "use strict"; exports.__esModule = true; @@ -1043,15 +1039,15 @@ Input:: Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:21 AM] Projects in this build: +[12:01:17 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:22 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' +[12:01:18 AM] Project 'src/project1/src/tsconfig.json' is up to date because newest input 'src/project1/src/a.ts' is older than output 'src/project1/src/tsconfig.tsbuildinfo' -[12:01:23 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:19 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:24 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:20 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1089,17 +1085,17 @@ export const b = 10;const bLocal = 10;const alocal = 10; Output:: /lib/tsc --b /src/project2/src --verbose -[12:01:26 AM] Projects in this build: +[12:01:22 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:27 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:23 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:28 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:24 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:34 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:30 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:35 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:31 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1251,17 +1247,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10; Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:37 AM] Projects in this build: +[12:01:33 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:38 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:34 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:39 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:35 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:44 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:40 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:45 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:41 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1405,17 +1401,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose --emitDeclarationOnly -[12:01:47 AM] Projects in this build: +[12:01:43 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:01:48 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' +[12:01:44 AM] Project 'src/project1/src/tsconfig.json' is out of date because output 'src/project1/src/tsconfig.tsbuildinfo' is older than input 'src/project1/src/b.ts' -[12:01:49 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:45 AM] Building project '/src/project1/src/tsconfig.json'... -[12:01:55 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:01:51 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:01:56 AM] Building project '/src/project2/src/tsconfig.json'... +[12:01:52 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1660,17 +1656,17 @@ export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export c Output:: /lib/tsc --b /src/project2/src --verbose -[12:02:01 AM] Projects in this build: +[12:01:57 AM] Projects in this build: * src/project1/src/tsconfig.json * src/project2/src/tsconfig.json -[12:02:02 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions +[12:01:58 AM] Project 'src/project1/src/tsconfig.json' is out of date because buildinfo file 'src/project1/src/tsconfig.tsbuildinfo' indicates there is change in compilerOptions -[12:02:03 AM] Building project '/src/project1/src/tsconfig.json'... +[12:01:59 AM] Building project '/src/project1/src/tsconfig.json'... -[12:02:15 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted +[12:02:09 AM] Project 'src/project2/src/tsconfig.json' is out of date because buildinfo file 'src/project2/src/tsconfig.tsbuildinfo' indicates that some of the changes were not emitted -[12:02:16 AM] Building project '/src/project2/src/tsconfig.json'... +[12:02:10 AM] Building project '/src/project2/src/tsconfig.json'... src/project2/src/tsconfig.json:1:74 - error TS6306: Referenced project '/src/project1/src' must have setting "composite": true. @@ -1715,7 +1711,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/a.js] file written with same contents //// [/src/project1/src/b.d.ts] export declare const b = 10; @@ -1735,7 +1730,6 @@ exports.aaaaa = 10; exports.a2 = 10; -//// [/src/project1/src/c.d.ts] file written with same contents //// [/src/project1/src/c.js] file written with same contents //// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index 9ea83fb3a5404..5328de8480dba 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -1334,7 +1334,6 @@ No cached semantic diagnostics in the builder:: No shapes updated in the builder:: -//// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.js] define("a", ["require", "exports"], function (require, exports) { "use strict"; diff --git a/tests/baselines/reference/tsc/incremental/different-options.js b/tests/baselines/reference/tsc/incremental/different-options.js index ed8a5bc04bad0..35eb5f6c8d746 100644 --- a/tests/baselines/reference/tsc/incremental/different-options.js +++ b/tests/baselines/reference/tsc/incremental/different-options.js @@ -1508,7 +1508,6 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: -//// [/src/project/a.d.ts.map] file written with same contents //// [/src/project/a.js] "use strict"; exports.__esModule = true; @@ -1518,7 +1517,6 @@ var aLocal = 100; //# sourceMappingURL=a.js.map //// [/src/project/a.js.map] file written with same contents -//// [/src/project/b.d.ts.map] file written with same contents //// [/src/project/b.js] "use strict"; exports.__esModule = true; @@ -1528,7 +1526,6 @@ var bLocal = 10; //# sourceMappingURL=b.js.map //// [/src/project/b.js.map] file written with same contents -//// [/src/project/c.d.ts.map] file written with same contents //// [/src/project/c.js] "use strict"; exports.__esModule = true; @@ -1538,7 +1535,6 @@ exports.c = a_1.a; //# sourceMappingURL=c.js.map //// [/src/project/c.js.map] file written with same contents -//// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/d.js] "use strict"; exports.__esModule = true; From 34e5ec20aaa29110f334e4c9fbb2cd4ce5d818e4 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 3 Nov 2022 11:49:12 -0700 Subject: [PATCH 11/11] Adding comments and refactoring some of the code --- src/compiler/builder.ts | 350 ++++++++---------- src/compiler/builderState.ts | 1 + src/compiler/watch.ts | 1 + src/testRunner/unittests/tsbuild/helpers.ts | 6 +- ...en-declarationMap-changes-discrepancies.js | 12 +- .../when-declarationMap-changes.js | 16 +- 6 files changed, 169 insertions(+), 217 deletions(-) diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index a1d95098fefb1..5a599b5840885 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -20,6 +20,9 @@ namespace ts { export type ReusableDiagnosticMessageChain = DiagnosticMessageChain; + /** Signature (Hash of d.ts emitted), is string if it was emitted using same d.ts.map option as what compilerOptions indicate, otherwise tuple of string */ + export type EmitSignature = string | [signature: string]; + export interface ReusableBuilderProgramState extends BuilderState { /** * Cache of bind and check diagnostics for files with their Path being the key @@ -52,33 +55,28 @@ namespace ts { /** * Hash of d.ts emitted for the file, use to track when emit of d.ts changes */ - emitSignatures?: ESMap; - /** - * Path is in this set if emitSignature was emitted with different declarationMap than compilerOptions.declarationMap - */ - emitSignatureDtsMapDiffers?: Set; + emitSignatures?: ESMap; /** * Hash of d.ts emit with --out */ - outSignature?: string; - /** - * true if outSignature was emitted with different declarationMap than compilerOptions.declarationMap - */ - outSignatureDtsMapDiffers?: true; + outSignature?: EmitSignature; /** * Name of the file whose dts was the latest to change */ latestChangedDtsFile: string | undefined; + /** + * Bundle information either from oldState or current one so it can be used to complete the information in buildInfo when emitting only js or dts files + */ bundle?: BundleBuildInfo; } export const enum BuilderFileEmit { None = 0, - Js = 1 << 0, - JsMap = 1 << 1, - JsInlineMap = 1 << 2, - Dts = 1 << 3, - DtsMap = 1 << 4, + Js = 1 << 0, // emit js file + JsMap = 1 << 1, // emit js.map file + JsInlineMap = 1 << 2, // emit inline source map in js file + Dts = 1 << 3, // emit d.ts file + DtsMap = 1 << 4, // emit d.ts.map file AllJs = Js | JsMap | JsInlineMap, AllDts = Dts | DtsMap, @@ -147,23 +145,23 @@ namespace ts { "seenEmittedFiles" | "programEmitPending" | "emitSignatures" | - "emitSignatureDtsMapDiffers" | "outSignature" | - "outSignatureDtsMapDiffers" | "latestChangedDtsFile" | "hasChangedEmitSignature" > & { changedFilesSet: BuilderProgramState["changedFilesSet"] | undefined }; + /** Get flags determining what all needs to be emitted */ export function getBuilderFileEmit(options: CompilerOptions) { let result = BuilderFileEmit.Js; if (options.sourceMap) result = result | BuilderFileEmit.JsMap; if (options.inlineSourceMap) result = result | BuilderFileEmit.JsInlineMap; if (getEmitDeclarations(options)) result = result | BuilderFileEmit.Dts; if (options.declarationMap) result = result | BuilderFileEmit.DtsMap; - if (options.emitDeclarationOnly) result = result & ~BuilderFileEmit.AllJs; + if (options.emitDeclarationOnly) result = result & BuilderFileEmit.AllDts; return result; } + /** Determing what all is pending to be emitted based on previous options or previous file emit flags */ export function getPendingEmitKind(optionsOrEmitKind: CompilerOptions | BuilderFileEmit, oldOptionsOrEmitKind: CompilerOptions | BuilderFileEmit | undefined): BuilderFileEmit { const oldEmitKind = oldOptionsOrEmitKind && (isNumber(oldOptionsOrEmitKind) ? oldOptionsOrEmitKind : getBuilderFileEmit(oldOptionsOrEmitKind)); const emitKind = isNumber(optionsOrEmitKind) ? optionsOrEmitKind : getBuilderFileEmit(optionsOrEmitKind); @@ -197,8 +195,7 @@ namespace ts { state.semanticDiagnosticsPerFile = new Map(); } else if (compilerOptions.composite && oldState?.outSignature && outFilePath === outFile(oldState?.compilerOptions)) { - state.outSignature = oldState?.outSignature; - if (emitSignatureDtsMapDiffers(compilerOptions, oldState.compilerOptions, oldState.outSignatureDtsMapDiffers)) state.outSignatureDtsMapDiffers = true; + state.outSignature = oldState.outSignature && getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldState.outSignature); } state.changedFilesSet = new Set(); state.latestChangedDtsFile = compilerOptions.composite ? oldState?.latestChangedDtsFile : undefined; @@ -227,6 +224,7 @@ namespace ts { state.programEmitPending = oldState!.programEmitPending; } else { + // We arent using old state, so atleast emit buildInfo with current information state.buildInfoEmitPending = true; } @@ -273,10 +271,7 @@ namespace ts { if (canCopyEmitSignatures) { const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath); if (oldEmitSignature) { - (state.emitSignatures ??= new Map()).set(sourceFilePath, oldEmitSignature); - if (emitSignatureDtsMapDiffers(compilerOptions, oldState.compilerOptions, oldState.emitSignatureDtsMapDiffers?.has(sourceFilePath))) { - (state.emitSignatureDtsMapDiffers ??= new Set()).add(sourceFilePath); - } + (state.emitSignatures ??= new Map()).set(sourceFilePath, getEmitSignatureFromOldSignature(compilerOptions, oldState.compilerOptions, oldEmitSignature)); } } }); @@ -287,6 +282,8 @@ namespace ts { .forEach(file => addFileToChangeSet(state, file.resolvedPath)); } else if (oldCompilerOptions) { + // If options affect emit, then we need to do complete emit per compiler options + // otherwise only the js or dts that needs to emitted because its different from previously emitted options const pendingEmitKind = compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions) ? getBuilderFileEmit(compilerOptions) : getPendingEmitKind(compilerOptions, oldCompilerOptions); @@ -294,6 +291,7 @@ namespace ts { if (!outFilePath) { // Add all files to affectedFilesPendingEmit since emit changed newProgram.getSourceFiles().forEach(f => { + // Add to affectedFilesPending emit only if not changed since any changed file will do full emit if (!state.changedFilesSet.has(f.resolvedPath)) { addToAffectedFilesPendingEmit( state, @@ -314,6 +312,7 @@ namespace ts { } } if (outFilePath && !state.changedFilesSet.size) { + // Copy the bundle information from old state so we can patch it later if we are doing partial emit if (useOldState) state.bundle = oldState!.bundle; // If this program has prepend references, always emit since we wont know if files on disk are correct unless we check file hash for correctness if (some(newProgram.getProjectReferences(), ref => !!ref.prepend)) state.programEmitPending = getBuilderFileEmit(compilerOptions); @@ -324,11 +323,20 @@ namespace ts { function addFileToChangeSet(state: BuilderProgramState, path: Path) { state.changedFilesSet.add(path); state.buildInfoEmitPending = true; + // Setting this to undefined as changed files means full emit so no need to track emit explicitly state.programEmitPending = undefined; } - function emitSignatureDtsMapDiffers(options: CompilerOptions, oldOptions: CompilerOptions, oldEmitSignatureDiffers: boolean | undefined) { - return !!options.declarationMap === !!oldOptions.declarationMap ? oldEmitSignatureDiffers : !oldEmitSignatureDiffers; + /** + * Covert to Emit signature based on oldOptions and EmitSignature format + * If d.ts map options differ then swap the format, otherwise use as is + */ + function getEmitSignatureFromOldSignature(options: CompilerOptions, oldOptions: CompilerOptions, oldEmitSignature: EmitSignature): EmitSignature { + return !!options.declarationMap === !!oldOptions.declarationMap ? + // Use same format of signature + oldEmitSignature : + // Convert to different format + isString(oldEmitSignature) ? [oldEmitSignature] : oldEmitSignature[0]; } function convertToDiagnostics(diagnostics: readonly ReusableDiagnostic[], newProgram: Program, getCanonicalFileName: GetCanonicalFileName): readonly Diagnostic[] { @@ -379,9 +387,7 @@ namespace ts { seenEmittedFiles: state.seenEmittedFiles && new Map(state.seenEmittedFiles), programEmitPending: state.programEmitPending, emitSignatures: state.emitSignatures && new Map(state.emitSignatures), - emitSignatureDtsMapDiffers: state.emitSignatureDtsMapDiffers && new Set(state.emitSignatureDtsMapDiffers), outSignature: state.outSignature, - outSignatureDtsMapDiffers: state.outSignatureDtsMapDiffers, latestChangedDtsFile: state.latestChangedDtsFile, hasChangedEmitSignature: state.hasChangedEmitSignature, changedFilesSet: outFilePath ? new Set(state.changedFilesSet) : undefined, @@ -393,9 +399,7 @@ namespace ts { state.seenEmittedFiles = savedEmitState.seenEmittedFiles; state.programEmitPending = savedEmitState.programEmitPending; state.emitSignatures = savedEmitState.emitSignatures; - state.emitSignatureDtsMapDiffers = savedEmitState.emitSignatureDtsMapDiffers; state.outSignature = savedEmitState.outSignature; - state.outSignatureDtsMapDiffers = savedEmitState.outSignatureDtsMapDiffers; state.latestChangedDtsFile = savedEmitState.latestChangedDtsFile; state.hasChangedEmitSignature = savedEmitState.hasChangedEmitSignature; if (savedEmitState.changedFilesSet) state.changedFilesSet = savedEmitState.changedFilesSet; @@ -489,6 +493,7 @@ namespace ts { if (!state.affectedFilesPendingEmit?.size) return; if (!emitOnlyDtsFiles) return state.affectedFilesPendingEmit = undefined; state.affectedFilesPendingEmit.forEach((emitKind, path) => { + // Mark the files as pending only if they are pending on js files, remove the dts emit pending flag const pending = emitKind & BuilderFileEmit.AllJs; if (!pending) state.affectedFilesPendingEmit!.delete(path); else state.affectedFilesPendingEmit!.set(path, pending); @@ -751,67 +756,6 @@ namespace ts { return undefined; } - /** - * This is called after completing operation on the next affected file. - * The operations here are postponed to ensure that cancellation during the iteration is handled correctly - */ - function doneWithAffectedFile( - state: BuilderProgramState, - affected: SourceFile | Program, - emitKind?: BuilderFileEmit, - programEmitKind?: BuilderFileEmit, - isBuildInfoEmit?: boolean - ) { - if (isBuildInfoEmit) { - state.buildInfoEmitPending = false; - } - else if (affected === state.program) { - state.changedFilesSet.clear(); - } - else { - const affectedSourceFile = affected as SourceFile; - state.seenAffectedFiles!.add(affectedSourceFile.resolvedPath); - if (state.affectedFilesIndex !== undefined) state.affectedFilesIndex++; - // Change in changeSet/affectedFilesPendingEmit, buildInfo needs to be emitted - state.buildInfoEmitPending = true; - if (emitKind !== undefined) { - const existing = state.seenEmittedFiles?.get(affectedSourceFile.resolvedPath) || BuilderFileEmit.None; - (state.seenEmittedFiles ??= new Map()).set(affectedSourceFile.resolvedPath, emitKind | existing); - const existingPending = state.affectedFilesPendingEmit?.get(affectedSourceFile.resolvedPath) || programEmitKind!; - const pendingKind = getPendingEmitKind(existingPending, emitKind | existing); - if (pendingKind) { - (state.affectedFilesPendingEmit ??= new Map()).set(affectedSourceFile.resolvedPath, pendingKind); - } - else { - state.affectedFilesPendingEmit?.delete(affectedSourceFile.resolvedPath); - } - } - } - } - - /** - * Returns the result with affected file - */ - function toAffectedFileResult(state: BuilderProgramState, result: T, affected: SourceFile | Program): AffectedFileResult { - doneWithAffectedFile(state, affected); - return { result, affected }; - } - - /** - * Returns the result with affected file - */ - function toAffectedFileEmitResult( - state: BuilderProgramState, - result: EmitResult, - affected: SourceFile | Program, - emitKind: BuilderFileEmit, - programEmitKind: BuilderFileEmit, - isBuildInfoEmit?: boolean - ): AffectedFileResult { - doneWithAffectedFile(state, affected, emitKind, programEmitKind, isBuildInfoEmit); - return { result, affected }; - } - /** * Gets semantic diagnostics for the file which are * bindAndCheckDiagnostics (from cache) and program diagnostics @@ -868,7 +812,7 @@ namespace ts { * [fileId, signature] if different from file's signature * fileId if file wasnt emitted */ - export type ProgramBuildInfoEmitSignature = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId, signature: string]; + export type ProgramBuildInfoEmitSignature = ProgramBuildInfoFileId | [fileId: ProgramBuildInfoFileId, signature: EmitSignature | []]; /** * ProgramMultiFileEmitBuildInfoFileInfo is string if FileInfo.version === FileInfo.signature && !FileInfo.affectsGlobalScope otherwise encoded FileInfo */ @@ -884,7 +828,6 @@ namespace ts { affectedFilesPendingEmit: ProgramBuilderInfoFilePendingEmit[] | undefined; changeFileSet: readonly ProgramBuildInfoFileId[] | undefined; emitSignatures: readonly ProgramBuildInfoEmitSignature[] | undefined; - emitSignatureDtsMapDiffers: readonly ProgramBuildInfoFileId[] | undefined; // Because this is only output file in the program, we dont need fileId to deduplicate name latestChangedDtsFile?: string | undefined; } @@ -901,8 +844,7 @@ namespace ts { fileNames: readonly string[]; fileInfos: readonly ProgramBundleEmitBuildInfoFileInfo[]; options: CompilerOptions | undefined; - outSignature: string | undefined; - outSignatureDtsMapDiffers: true | undefined; + outSignature: EmitSignature | undefined; latestChangedDtsFile: string | undefined; pendingEmit: ProgramBuildInfoBundlePendingEmit | undefined; } @@ -924,6 +866,8 @@ namespace ts { const fileNames: string[] = []; const fileNameToFileId = new Map(); if (outFile(state.compilerOptions)) { + // Copy all fileInfo, version and impliedFormat + // Affects global scope and signature doesnt matter because with --out they arent calculated or needed to determine upto date ness const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramBundleEmitBuildInfoFileInfo => { // Ensure fileId toFileId(key); @@ -936,14 +880,14 @@ namespace ts { fileInfos, options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions), outSignature: state.outSignature, - outSignatureDtsMapDiffers: state.outSignatureDtsMapDiffers, latestChangedDtsFile, pendingEmit: !state.programEmitPending ? - undefined : + undefined : // Pending is undefined or None is encoded as undefined state.programEmitPending === getBuilderFileEmit(state.compilerOptions) ? - false : - state.programEmitPending, + false : // Pending emit is same as deteremined by compilerOptions + state.programEmitPending, // Actual value }; + // Complete the bundle information if we are doing partial emit (only js or only dts) const { js, dts, commonSourceDirectory, sourceFiles } = bundle!; state.bundle = bundle = { commonSourceDirectory, @@ -957,7 +901,6 @@ namespace ts { let fileIdsList: (readonly ProgramBuildInfoFileId[])[] | undefined; let fileNamesToFileIdListId: ESMap | undefined; let emitSignatures: ProgramBuildInfoEmitSignature[] | undefined; - let emitSignatureDtsMapDiffers: ProgramBuildInfoFileId[] | undefined; const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]): ProgramMultiFileEmitBuildInfoFileInfo => { // Ensure fileId const fileId = toFileId(key); @@ -969,9 +912,11 @@ namespace ts { if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program!)) { const emitSignature = state.emitSignatures?.get(key); if (emitSignature !== actualSignature) { - (emitSignatures ||= []).push(emitSignature === undefined ? fileId : [fileId, emitSignature]); + (emitSignatures ||= []).push(emitSignature === undefined ? + fileId : // There is no emit, encode as false + // fileId, signature: emptyArray if signature only differs in dtsMap option than our own compilerOptions otherwise EmitSignature + [fileId, !isString(emitSignature) && emitSignature[0] === actualSignature ? emptyArray as [] : emitSignature]); } - if (state.emitSignatureDtsMapDiffers?.has(key)) (emitSignatureDtsMapDiffers ??= []).push(fileId); } } return value.version === actualSignature ? @@ -1035,10 +980,10 @@ namespace ts { const fileId = toFileId(path), pendingEmit = state.affectedFilesPendingEmit.get(path)!; (affectedFilesPendingEmit ||= []).push( pendingEmit === fullEmitForOptions ? - fileId : + fileId : // Pending full emit per options pendingEmit === BuilderFileEmit.Dts ? - [fileId] : - [fileId, pendingEmit] + [fileId] : // Pending on Dts only + [fileId, pendingEmit] // Anything else ); } } @@ -1062,7 +1007,6 @@ namespace ts { affectedFilesPendingEmit, changeFileSet, emitSignatures, - emitSignatureDtsMapDiffers, latestChangedDtsFile, }; return createBuildInfo(program, bundle); @@ -1310,31 +1254,24 @@ namespace ts { function emitNextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): AffectedFileResult { let affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host); const programEmitKind = getBuilderFileEmit(state.compilerOptions); - let emitKind = emitOnlyDtsFiles ? + let emitKind: BuilderFileEmit = emitOnlyDtsFiles ? programEmitKind & BuilderFileEmit.AllDts : programEmitKind; if (!affected) { if (!outFile(state.compilerOptions)) { const pendingAffectedFile = getNextAffectedFilePendingEmit(state, emitOnlyDtsFiles); if (!pendingAffectedFile) { - if (!state.buildInfoEmitPending) { - return undefined; - } - - const affected = Debug.checkDefined(state.program); - return toAffectedFileEmitResult( - state, - // When whole program is affected, do emit only once (eg when --out or --outFile is specified) - // Otherwise just affected file - affected.emitBuildInfo(writeFile || maybeBind(host, host.writeFile), cancellationToken), - affected, - emitKind, - programEmitKind, - /*isBuildInfoEmit*/ true - ); + // Emit buildinfo if pending + if (!state.buildInfoEmitPending) return undefined; + const affected = state.program!; + const result = affected.emitBuildInfo(writeFile || maybeBind(host, host.writeFile), cancellationToken); + state.buildInfoEmitPending = false; + return { result, affected }; } + // Emit pending affected file ({ affectedFile: affected, emitKind } = pendingAffectedFile); } else { + // Emit program if it was pending emit if (!state.programEmitPending) return undefined; emitKind = state.programEmitPending; if (emitOnlyDtsFiles) emitKind = emitKind & BuilderFileEmit.AllDts; @@ -1342,40 +1279,50 @@ namespace ts { affected = state.program!; } } + // Determine if we can do partial emit + let emitOnly: EmitOnly | undefined; + if (emitKind & BuilderFileEmit.AllJs) emitOnly = EmitOnly.Js; + if (emitKind & BuilderFileEmit.AllDts) emitOnly = emitOnly === undefined ? EmitOnly.Dts : undefined; if (affected === state.program) { + // Set up programEmit before calling emit so that its set in buildInfo state.programEmitPending = state.changedFilesSet.size ? getPendingEmitKind(programEmitKind, emitKind) : state.programEmitPending ? getPendingEmitKind(state.programEmitPending, emitKind) : undefined; } - let emitOnly: EmitOnly | undefined; - if (emitKind & BuilderFileEmit.AllJs) { - emitOnly = EmitOnly.Js; + // Actual emit + const result = state.program!.emit( + affected === state.program ? undefined : affected as SourceFile, + getWriteFileCallback(writeFile, customTransformers), + cancellationToken, + emitOnly, + customTransformers + ); + if (affected !== state.program) { + // update affected files + const affectedSourceFile = affected as SourceFile; + state.seenAffectedFiles!.add(affectedSourceFile.resolvedPath); + if (state.affectedFilesIndex !== undefined) state.affectedFilesIndex++; + // Change in changeSet/affectedFilesPendingEmit, buildInfo needs to be emitted + state.buildInfoEmitPending = true; + // Update the pendingEmit for the file + const existing = state.seenEmittedFiles?.get(affectedSourceFile.resolvedPath) || BuilderFileEmit.None; + (state.seenEmittedFiles ??= new Map()).set(affectedSourceFile.resolvedPath, emitKind | existing); + const existingPending = state.affectedFilesPendingEmit?.get(affectedSourceFile.resolvedPath) || programEmitKind; + const pendingKind = getPendingEmitKind(existingPending, emitKind | existing); + if (pendingKind) (state.affectedFilesPendingEmit ??= new Map()).set(affectedSourceFile.resolvedPath, pendingKind); + else state.affectedFilesPendingEmit?.delete(affectedSourceFile.resolvedPath); } - if (emitKind & BuilderFileEmit.AllDts) { - emitOnly = emitOnly === undefined ? EmitOnly.Dts : undefined; + else { + // In program clear our changed files since any emit handles all changes + state.changedFilesSet.clear(); } - return toAffectedFileEmitResult( - state, - // When whole program is affected, do emit only once (eg when --out or --outFile is specified) - // Otherwise just affected file - Debug.checkDefined(state.program).emit( - affected === state.program ? undefined : affected as SourceFile, - getEmitDeclarations(state.compilerOptions) ? - getWriteFileCallback(writeFile, customTransformers) : - writeFile || maybeBind(host, host.writeFile), - cancellationToken, - emitOnly, - customTransformers - ), - affected, - emitKind, - programEmitKind, - ); + return { result, affected }; } - function getWriteFileCallback(writeFile: WriteFileCallback | undefined, customTransformers: CustomTransformers | undefined): WriteFileCallback { + function getWriteFileCallback(writeFile: WriteFileCallback | undefined, customTransformers: CustomTransformers | undefined): WriteFileCallback | undefined { + if (!getEmitDeclarations(state.compilerOptions)) return writeFile || maybeBind(host, host.writeFile); return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => { if (isDeclarationFileName(fileName)) { if (!outFile(state.compilerOptions)) { @@ -1417,41 +1364,43 @@ namespace ts { // and would need their d.ts change time in --build mode if (state.compilerOptions.composite) { const filePath = sourceFiles[0].resolvedPath; - const oldSignature = state.emitSignatures?.get(filePath); - emitSignature ??= computeSignature(text, computeHash, data); - // Dont write dts files if they didn't change - if (emitSignature === oldSignature) { - if (!state.emitSignatureDtsMapDiffers?.has(filePath)) return; - else if (data) data.differsOnlyInMap = true; - else data = { differsOnlyInMap: true }; - } - else { - (state.emitSignatures ??= new Map()).set(filePath, emitSignature); - state.hasChangedEmitSignature = true; - state.latestChangedDtsFile = fileName; - } - state.emitSignatureDtsMapDiffers?.delete(filePath); + emitSignature = handleNewSignature(state.emitSignatures?.get(filePath), emitSignature); + if (!emitSignature) return; + (state.emitSignatures ??= new Map()).set(filePath, emitSignature); } } else if (state.compilerOptions.composite) { - const newSignature = computeSignature(text, computeHash, data); - // Dont write dts files if they didn't change - if (newSignature === state.outSignature) { - if (!state.outSignatureDtsMapDiffers) return; - else if (data) data.differsOnlyInMap = true; - else data = { differsOnlyInMap: true }; - } - else { - state.outSignature = newSignature; - state.hasChangedEmitSignature = true; - state.latestChangedDtsFile = fileName; - } - state.outSignatureDtsMapDiffers = undefined; + const newSignature = handleNewSignature(state.outSignature, /*newSignature*/ undefined); + if (!newSignature) return; + state.outSignature = newSignature; } } if (writeFile) writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); else if (host.writeFile) host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); else state.program!.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data); + + /** + * Compare to existing computed signature and store it or handle the changes in d.ts map option from before + * returning undefined means that, we dont need to emit this d.ts file since its contents didnt change + */ + function handleNewSignature(oldSignatureFormat: EmitSignature | undefined, newSignature: string | undefined) { + const oldSignature = !oldSignatureFormat || isString(oldSignatureFormat) ? oldSignatureFormat : oldSignatureFormat[0]; + newSignature ??= computeSignature(text, computeHash, data); + // Dont write dts files if they didn't change + if (newSignature === oldSignature) { + // If the signature was encoded as string the dts map options match so nothing to do + if (oldSignatureFormat === oldSignature) return undefined; + // Mark as differsOnlyInMap so that --build can reverse the timestamp so that + // the downstream projects dont detect this as change in d.ts file + else if (data) data.differsOnlyInMap = true; + else data = { differsOnlyInMap: true }; + } + else { + state.hasChangedEmitSignature = true; + state.latestChangedDtsFile = fileName; + } + return newSignature; + } }; } @@ -1503,9 +1452,7 @@ namespace ts { } return Debug.checkDefined(state.program).emit( targetSourceFile, - getEmitDeclarations(state.compilerOptions) ? - getWriteFileCallback(writeFile, customTransformers) : - writeFile || maybeBind(host, host.writeFile), + getWriteFileCallback(writeFile, customTransformers), cancellationToken, emitOnlyDtsFiles, customTransformers @@ -1519,31 +1466,27 @@ namespace ts { function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?: (sourceFile: SourceFile) => boolean): AffectedFileResult { while (true) { const affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host); - if (!affected) { - // Done - return undefined; + let result; + if (!affected) return undefined; // Done + else if (affected !== state.program) { + // Get diagnostics for the affected file if its not ignored + const affectedSourceFile = affected as SourceFile; + if (!ignoreSourceFile || !ignoreSourceFile(affectedSourceFile)) { + result = getSemanticDiagnosticsOfFile(state, affectedSourceFile, cancellationToken); + } + state.seenAffectedFiles!.add(affectedSourceFile.resolvedPath); + state.affectedFilesIndex!++; + // Change in changeSet, buildInfo needs to be emitted + state.buildInfoEmitPending = true; + if (!result) continue; } - else if (affected === state.program) { + else { // When whole program is affected, get all semantic diagnostics (eg when --out or --outFile is specified) - return toAffectedFileResult( - state, - state.program.getSemanticDiagnostics(/*targetSourceFile*/ undefined, cancellationToken), - affected - ); - } - - // Get diagnostics for the affected file if its not ignored - if (ignoreSourceFile && ignoreSourceFile(affected as SourceFile)) { - // Get next affected file - doneWithAffectedFile(state, affected); - continue; + result = state.program.getSemanticDiagnostics(/*targetSourceFile*/ undefined, cancellationToken); + state.changedFilesSet.clear(); + state.programEmitPending = getBuilderFileEmit(state.compilerOptions); } - - return toAffectedFileResult( - state, - getSemanticDiagnosticsOfFile(state, affected as SourceFile, cancellationToken), - affected - ); + return { result, affected }; } } @@ -1623,7 +1566,6 @@ namespace ts { compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {}, latestChangedDtsFile, outSignature: program.outSignature, - outSignatureDtsMapDiffers: program.outSignatureDtsMapDiffers, programEmitPending: program.pendingEmit === undefined ? undefined : toProgramEmitPending(program.pendingEmit, program.options), bundle: buildInfo.bundle, }; @@ -1631,7 +1573,7 @@ namespace ts { else { filePathsSetList = program.fileIdsList?.map(fileIds => new Set(fileIds.map(toFilePath))); const fileInfos = new Map(); - const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; + const emitSignatures = program.options?.composite && !outFile(program.options) ? new Map() : undefined; program.fileInfos.forEach((fileInfo, index) => { const path = toFilePath(index + 1 as ProgramBuildInfoFileId); const stateFileInfo = toBuilderStateFileInfoForMultiEmit(fileInfo); @@ -1640,7 +1582,14 @@ namespace ts { }); program.emitSignatures?.forEach(value => { if (isNumber(value)) emitSignatures!.delete(toFilePath(value)); - else emitSignatures!.set(toFilePath(value[0]), value[1]); + else { + const key = toFilePath(value[0]); + emitSignatures!.set(key, !isString(value[1]) && !value[1].length ? + // File signature is emit signature but differs in map + [emitSignatures!.get(key)! as string] : + value[1] + ); + } }); const fullEmitForOptions = program.affectedFilesPendingEmit ? getBuilderFileEmit(program.options || {}) : undefined; state = { @@ -1654,7 +1603,6 @@ namespace ts { changedFilesSet: new Set(map(program.changeFileSet, toFilePath)), latestChangedDtsFile, emitSignatures: emitSignatures?.size ? emitSignatures : undefined, - emitSignatureDtsMapDiffers: program.emitSignatureDtsMapDiffers && new Set(program.emitSignatureDtsMapDiffers.map(toFilePath)), }; } diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index 02b47736d090a..176ddcd810bda 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -300,6 +300,7 @@ namespace ts { fileInfos.set(sourceFile.resolvedPath, { version, signature, + // No need to calculate affectsGlobalScope with --out since its not used at all affectsGlobalScope: !isOutFile ? isFileAffectingGlobalScope(sourceFile) || undefined : undefined, impliedFormat: sourceFile.impliedNodeFormat }); diff --git a/src/compiler/watch.ts b/src/compiler/watch.ts index 6a47526b086b7..5ad1312293554 100644 --- a/src/compiler/watch.ts +++ b/src/compiler/watch.ts @@ -660,6 +660,7 @@ namespace ts { } export function getSourceFileVersionAsHashFromText(host: Pick, text: string) { + // If text can contain the sourceMapUrl ignore sourceMapUrl for calcualting hash if (text.match(sourceMapCommentRegExpDontCareLineStart)) { let lineEnd = text.length; let lineStart = lineEnd; diff --git a/src/testRunner/unittests/tsbuild/helpers.ts b/src/testRunner/unittests/tsbuild/helpers.ts index 7ecbe22addcd8..6c21bc2df27a7 100644 --- a/src/testRunner/unittests/tsbuild/helpers.ts +++ b/src/testRunner/unittests/tsbuild/helpers.ts @@ -200,7 +200,7 @@ interface Symbol { type ReadableProgramBuildInfoDiagnostic = string | [string, readonly ReusableDiagnostic[]]; type ReadableBuilderFileEmit = string & { __readableBuilderFileEmit: any; }; type ReadableProgramBuilderInfoFilePendingEmit = [original: string | [string], emitKind: ReadableBuilderFileEmit]; - type ReadableProgramBuildInfoEmitSignature = string | [string, string]; + type ReadableProgramBuildInfoEmitSignature = string | [string, EmitSignature | []]; type ReadableProgramBuildInfoFileInfo = Omit & { impliedFormat: string | undefined; original: T | undefined; @@ -208,7 +208,7 @@ interface Symbol { type ReadableProgramMultiFileEmitBuildInfo = Omit & { fileNamesList: readonly (readonly string[])[] | undefined; fileInfos: MapLike>; @@ -218,7 +218,6 @@ interface Symbol { affectedFilesPendingEmit: readonly ReadableProgramBuilderInfoFilePendingEmit[] | undefined; changeFileSet: readonly string[] | undefined; emitSignatures: readonly ReadableProgramBuildInfoEmitSignature[] | undefined; - emitSignatureDtsMapDiffers: readonly string[] | undefined; }; type ReadableProgramBuildInfoBundlePendingEmit = [emitKind: ReadableBuilderFileEmit, original: ProgramBuildInfoBundlePendingEmit]; type ReadableProgramBundleEmitBuildInfo = Omit & { @@ -278,7 +277,6 @@ interface Symbol { toFileName(s) : [toFileName(s[0]), s[1]] ), - emitSignatureDtsMapDiffers: buildInfo.program.emitSignatureDtsMapDiffers?.map(toFileName), latestChangedDtsFile: buildInfo.program.latestChangedDtsFile, }; } diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js index aadaa6ee56cc4..6e3b81b8690ce 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes-discrepancies.js @@ -95,13 +95,15 @@ IncrementalBuild: "emitSignatures": [ [ "./a.ts", - "-3198459068-declare const x = 10;\r\n" + [ + "-3198459068-declare const x = 10;\r\n" + ] + ], + [ + "./b.ts", + [] ] ], - "emitSignatureDtsMapDiffers": [ - "./a.ts", - "./b.ts" - ], "latestChangedDtsFile": "FakeFileName" }, "version": "FakeTSVersion" diff --git a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js index 09c6bd913ce59..972b5b5f24688 100644 --- a/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/incremental/when-declarationMap-changes.js @@ -129,7 +129,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-1601647902-declare const x: 20;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./a.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]],3],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"-3198459068-declare const x = 10;\r\n"]],"emitSignatureDtsMapDiffers":[2,3],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"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; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-1601647902-declare const x: 20;\r\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-5539113915-declare const y = 10;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,[2,[{"file":"./a.ts","start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]],3],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,["-3198459068-declare const x = 10;\r\n"]],[3,[]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -208,17 +208,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "emitSignatures": [ [ "./a.ts", - "-3198459068-declare const x = 10;\r\n" + [ + "-3198459068-declare const x = 10;\r\n" + ] + ], + [ + "./b.ts", + [] ] ], - "emitSignatureDtsMapDiffers": [ - "./a.ts", - "./b.ts" - ], "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1284 + "size": 1258 }